hgbook

view stylesheets/dtd-profile.xsl @ 998:9d32b10fdb1e

updating .hgignore to ignore the same files other translation ignores
author Romain PELISSE <belaran@gmail.com>
date Sat Sep 12 20:52:35 2009 +0200 (2009-09-12)
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>