bos@557: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> bos@557: <xsl:import href="system-xsl/profiling/profile.xsl"></xsl:import> bos@557: bos@557: <!-- For some reason, xsltproc omits the DTD from the file it bos@557: outputs. Add a sensible one back in, because otherwise xmllint bos@557: won't validate profiled documents. --> bos@557: bos@557: <xsl:template match="/"> bos@557: <xsl:text disable-output-escaping="yes"><![CDATA[ bos@557: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" bos@557: "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> bos@557: ]]></xsl:text> bos@557: <xsl:apply-templates select="." mode="profile"/> bos@557: </xsl:template> bos@557: </xsl:stylesheet>