hgbook

annotate stylesheets/dtd-profile.xsl @ 965:1421a5493113

Sadly, translation on preface is to be start over as it content has been completly changed
author Romain PELISSE <belaran@gmail.com>
date Sun Aug 16 13:18:39 2009 +0200 (2009-08-16)
parents 23dc79421e06
children
rev   line source
bos@557 1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
bos@557 2 <xsl:import href="system-xsl/profiling/profile.xsl"></xsl:import>
bos@557 3
bos@557 4 <!-- For some reason, xsltproc omits the DTD from the file it
bos@557 5 outputs. Add a sensible one back in, because otherwise xmllint
bos@557 6 won't validate profiled documents. -->
bos@557 7
bos@557 8 <xsl:template match="/">
bos@557 9 <xsl:text disable-output-escaping="yes"><![CDATA[
bos@557 10 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
bos@557 11 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
bos@557 12 ]]></xsl:text>
bos@557 13 <xsl:apply-templates select="." mode="profile"/>
bos@557 14 </xsl:template>
bos@557 15 </xsl:stylesheet>