annotate docs/stylesheets/replaceable.xsl @ 2569:d139f4b0b123

Copied from coco3 bootlists
author boisy
date Sun, 03 Apr 2011 16:12:55 +0000
parents bc28c3bc3769
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1148
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
1 <?xml version='1.0'?>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
2 <!-- vim:set sts=2 shiftwidth=2 syntax=sgml: -->
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
3 <!--
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
4 This is an example of an xmlto stylesheet module to be use when generating HTML
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
5 you call it with xmtto pdf -m replaceable.xsl articles.docbook
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
6 Instead of using italics for the <replaceable> element it uses < and >
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
7 -->
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
8 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
9 version='1.0'>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
10 <xsl:template match="replaceable">
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
11 <xsl:text>&lt;</xsl:text>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
12 <xsl:apply-templates/>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
13 <xsl:text>&gt;</xsl:text>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
14 </xsl:template>
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
15
bc28c3bc3769 Put all stylesheets in one central location
roug
parents:
diff changeset
16 </xsl:stylesheet>