]> granicus.if.org Git - docbook-dsssl/commitdiff
Do not output !DOCTYPE for profiled content. Different users have needs for different...
authorJirka Kosek <jirka@kosek.cz>
Tue, 10 Jan 2006 20:16:24 +0000 (20:16 +0000)
committerJirka Kosek <jirka@kosek.cz>
Tue, 10 Jan 2006 20:16:24 +0000 (20:16 +0000)
xsl/profiling/profile.xsl

index c4678213ebdd17b7de6886a01a19660a2b1dcd50..4f5029688cfe25237d80ec781a72d2c67e2ceca6 100644 (file)
 <!-- In the two pass processing there is no need for base URI fixup -->
 <xsl:param name="profile.baseuri.fixup" select="false()"/>
 
+<!-- If you need to validate profiled content against DTD, 
+     create customization that will import this stylesheet and
+     will use xsl:output (see example bellow) to output reference 
+     to the desired DTD version. --> 
 <!-- Generate DocBook instance with correct DOCTYPE -->
+<!--
 <xsl:output method="xml" 
-            doctype-public="-//OASIS//DTD DocBook XML V4.2//EN"
-            doctype-system="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"/>
+            doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
+            doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
+-->
 
 <!-- Profiling parameters -->
 <xsl:param name="profile.arch" select="''"/>