hgbook
view stylesheets/dtd-profile.xsl @ 1028:013e09cb852f
better french translation of 'making mercurial more trusting
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Wed Apr 21 17:26:00 2010 +0200 (2010-04-21) |
parents | 23dc79421e06 |
children |
line source
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2 <xsl:import href="system-xsl/profiling/profile.xsl"></xsl:import>
4 <!-- For some reason, xsltproc omits the DTD from the file it
5 outputs. Add a sensible one back in, because otherwise xmllint
6 won't validate profiled documents. -->
8 <xsl:template match="/">
9 <xsl:text disable-output-escaping="yes"><![CDATA[
10 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
11 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
12 ]]></xsl:text>
13 <xsl:apply-templates select="." mode="profile"/>
14 </xsl:template>
15 </xsl:stylesheet>