Author: ben
Date: 2007-12-17 13:41:02 -0800 (Mon, 17 Dec 2007)
New Revision: 7571

Modified:
   openlaszlo/trunk/docs/src/xsl/parameters.xsl
Log:
Change 20071217-ben-K by [EMAIL PROTECTED] on 2007-12-17 12:42:03 PST
    in /Users/ben/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Make doc build output a doctype

Bugs Fixed: LPP-5258 doctools should generate html with a DOCTYPE

Technical Reviewer: ptw

Documentation:
In order to generate html with a doctype, we have to tell docbook-xsl's chunker
that we want a doctype. These two parameters are the way we do so: 

+  <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD HTML 
4.01 Transitional//EN'"/>
+  <xsl:param name="chunker.output.doctype-system" 
select="'http://www.w3.org/TR/html4/loose.dtd'"/>  

Release Notes:

Details:
    

Tests:
ant clean doc
inspect one of the output files
notice it begins with... 
<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>




Modified: openlaszlo/trunk/docs/src/xsl/parameters.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/parameters.xsl        2007-12-17 21:31:10 UTC 
(rev 7570)
+++ openlaszlo/trunk/docs/src/xsl/parameters.xsl        2007-12-17 21:41:02 UTC 
(rev 7571)
@@ -5,8 +5,11 @@
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 version="1.0">
+  <!-- Specify a doctype. Fixes LPP-5207. [bshine 12.17.2007] -->
+  <xsl:param name="chunker.output.method" select="'html'"/>
+  <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD HTML 
4.01 Transitional//EN'"/>
+  <xsl:param name="chunker.output.doctype-system" 
select="'http://www.w3.org/TR/html4/loose.dtd'"/>  
   
-  <!-- todo: add doctype -->
   <!--xsl:param name="emphasis.propagates.style" select="0"/-->
   
   <!-- Adminitions -->


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to