fi; \
done
+ # Also Generate special docbook-no-doctype.xsl file
+ $(XSLT) ../html/docbook.xsl html2xhtml.xsl docbook-no-doctype.xsl \
+ include.output.doctype=0 ; \
+
profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl
$(XSLT) $< ../profiling/xsl2profile.xsl $@
encoding="ASCII"
saxon:character-representation="decimal"
/>
+<xsl:param name="include.output.doctype" select="1"/>
<xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
<xsl:copy-of select="@*"/>
<xsl:attribute name="method">xml</xsl:attribute>
<xsl:attribute name="encoding">UTF-8</xsl:attribute>
- <xsl:attribute name="doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:attribute>
- <xsl:attribute name="doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:attribute>
+ <xsl:if test="$include.output.doctype != 0">
+ <xsl:attribute name="doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:attribute>
+ <xsl:attribute name="doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:attribute>
+ </xsl:if>
</xsl:copy>
</xsl:template>