r4201 - in branches/testing/BOOK: . stylesheets

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Sep 23 12:23:43 PDT 2004


Author: manuel
Date: 2004-09-23 13:23:40 -0600 (Thu, 23 Sep 2004)
New Revision: 4201

Modified:
   branches/testing/BOOK/Makefile
   branches/testing/BOOK/stylesheets/lfs-chunked2.xsl
Log:
Readded the XML declaration in XHTML pages.
Added a sed command to change the Content-Type from text/html to application/xhtml+xml

Modified: branches/testing/BOOK/Makefile
===================================================================
--- branches/testing/BOOK/Makefile	2004-09-23 19:18:00 UTC (rev 4200)
+++ branches/testing/BOOK/Makefile	2004-09-23 19:23:40 UTC (rev 4201)
@@ -31,6 +31,10 @@
 
 	sh goTidy $(BASEDIR)/
 
+	for filename in `find $(BASEDIR) -name "*.html"`; do \
+	  sed -i -e "s at text/html at application/xhtml+xml at 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

Modified: branches/testing/BOOK/stylesheets/lfs-chunked2.xsl
===================================================================
--- branches/testing/BOOK/stylesheets/lfs-chunked2.xsl	2004-09-23 19:18:00 UTC (rev 4200)
+++ branches/testing/BOOK/stylesheets/lfs-chunked2.xsl	2004-09-23 19:23:40 UTC (rev 4201)
@@ -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>




More information about the lfs-book mailing list