]> matita.cs.unibo.it Git - helm.git/commit
Great changes in all the stylesheets. Every page is now generated in two
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 25 Feb 2002 15:47:02 +0000 (15:47 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 25 Feb 2002 15:47:02 +0000 (15:47 +0000)
commitaec0205f30e65b81519d0c1b103f24ca88cddf95
tree35ba6fa0220a8a3d8c5ae9c7d80ea48315b64cb6
parent9b149437fe0a9ed59e66cd87590ce6f1aed1ac64
Great changes in all the stylesheets. Every page is now generated in two
phases:

1) A stylesheet from XML to XHTML that generates the page.
   This stylesheet no more bothers with the layout of the page w.r.t. the
   rest of the site (i.e. it doesn't add the link to CSS; it doesn't call
   the head and foot templates)
2) A common stylesheet from XHTML to HTML that just adds the header, footer
   and CSS link to the page.

The idea is that in this way it is easier to change the overall layout of
the site (e.g. removing frames). Moreover, less code is required.

Problem: xsltproc is too intelligent (= rather stupid), so that it
recognises XHTML pages and fails in applying the stylesheet. So, in the
Makefile, care (= sed) must be taken to remove the DOCTYPE definitions
from XHTML files.
19 files changed:
helm/mowgli/home/html/Makefile
helm/mowgli/home/xml/members-index.xml
helm/mowgli/home/xml/mowgli-events/kick-off.xml
helm/mowgli/home/xml/project-management.xml
helm/mowgli/home/xml/project-objectives.xml
helm/mowgli/home/xml/project-summary.xml
helm/mowgli/home/xsl/consortium.xsl
helm/mowgli/home/xsl/deadlines.xsl
helm/mowgli/home/xsl/deliverable.xsl
helm/mowgli/home/xsl/events.xsl
helm/mowgli/home/xsl/news.xsl
helm/mowgli/home/xsl/people-list.xsl
helm/mowgli/home/xsl/person.xsl
helm/mowgli/home/xsl/project.xsl
helm/mowgli/home/xsl/publication.xsl
helm/mowgli/home/xsl/publications-index.xsl
helm/mowgli/home/xsl/site.xsl
helm/mowgli/home/xsl/work-package.xsl
helm/mowgli/home/xsl/work-packages_index.xsl