hgbook
diff stylesheets/dtd-profile.xsl @ 999:a6b81cd31cfd
adding complete.xml - which generated but Bryan did add it also - as I have absolutly no personnality I do as he does
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Sat Sep 12 20:53:36 2009 +0200 (2009-09-12) |
parents | 23dc79421e06 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/stylesheets/dtd-profile.xsl Sat Sep 12 20:53:36 2009 +0200 1.3 @@ -0,0 +1,15 @@ 1.4 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> 1.5 + <xsl:import href="system-xsl/profiling/profile.xsl"></xsl:import> 1.6 + 1.7 + <!-- For some reason, xsltproc omits the DTD from the file it 1.8 + outputs. Add a sensible one back in, because otherwise xmllint 1.9 + won't validate profiled documents. --> 1.10 + 1.11 + <xsl:template match="/"> 1.12 + <xsl:text disable-output-escaping="yes"><![CDATA[ 1.13 +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 1.14 + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> 1.15 + ]]></xsl:text> 1.16 + <xsl:apply-templates select="." mode="profile"/> 1.17 + </xsl:template> 1.18 +</xsl:stylesheet>