hgbook
diff stylesheets/dtd-profile.xsl @ 1016:c1848976fd6a
some typo and better french translation
author | André Sintzoff <andre.sintzoff@gmail.com> |
---|---|
date | Wed Nov 25 14:45:11 2009 +0100 (2009-11-25) |
parents | 23dc79421e06 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/stylesheets/dtd-profile.xsl Wed Nov 25 14:45:11 2009 +0100 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>