Mercurial > hgbook
comparison stylesheets/dtd-profile.xsl @ 728:bae6d1503482
Rename xsl to stylesheets
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Thu, 12 Mar 2009 17:11:59 +0800 |
parents | xsl/dtd-profile.xsl@23dc79421e06 |
children |
comparison
equal
deleted
inserted
replaced
727:0e3d8f66bbb7 | 728:bae6d1503482 |
---|---|
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> | |
3 | |
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. --> | |
7 | |
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> |