diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-09-23 19:23:40 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-09-23 19:23:40 +0000 |
commit | eb016f3b6bac6830680b334e457fcd62977fdf04 (patch) | |
tree | 2ba8dec46354a32f9c8e05d871a048c209b43f0f | |
parent | b09cc8e88e20501ba49cb680346138016488b6f0 (diff) |
Readded the XML declaration in XHTML pages.
Added a sed command to change the Content-Type from text/html to application/xhtml+xml
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4201 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | stylesheets/lfs-chunked2.xsl | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -31,6 +31,10 @@ lfs: sh goTidy $(BASEDIR)/ + for filename in `find $(BASEDIR) -name "*.html"`; do \ + sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \ + done; + # # This is the old "pdf" target. The old "print" target below has been # renamed to "pdf" and will be used. This commented out previous_pdf diff --git a/stylesheets/lfs-chunked2.xsl b/stylesheets/lfs-chunked2.xsl index c6aa1651a..7973f8305 100644 --- a/stylesheets/lfs-chunked2.xsl +++ b/stylesheets/lfs-chunked2.xsl @@ -25,8 +25,5 @@ <!-- Dropping some unwanted style attributes --> <xsl:param name="ulink.target" select="''"></xsl:param> <xsl:param name="css.decoration" select="0"></xsl:param> - - <!-- No XML declaration --> - <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> </xsl:stylesheet> |