annotate stylesheets/dtd-profile.xsl @ 802:de4142983445

Propagate 3b640272a966 Progres on resolve
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 21 Jun 2009 09:20:47 +0900
parents bae6d1503482
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
656
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
2 <xsl:import href="system-xsl/profiling/profile.xsl"></xsl:import>
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
3
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
4 <!-- For some reason, xsltproc omits the DTD from the file it
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
5 outputs. Add a sensible one back in, because otherwise xmllint
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
6 won't validate profiled documents. -->
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
7
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
8 <xsl:template match="/">
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
9 <xsl:text disable-output-escaping="yes"><![CDATA[
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
10 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
11 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
12 ]]></xsl:text>
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
13 <xsl:apply-templates select="." mode="profile"/>
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
14 </xsl:template>
23dc79421e06 Add XSL stylesheets
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
15 </xsl:stylesheet>