Debian Codegraph @

ru/examples/style-xsl.txt

raw
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
3 xmlns:fo="http://www.w3.org/XSL/Format/1.0">
4
5 <xsl:template match="para">
6 <fo:block>
7 <xsl:apply-templates/>
8 </fo:block>
9 </xsl:template>
10
11 <xsl:template match="emphasis">
12 <fo:sequence font-style="italic">
13 <xsl:apply-templates/>
14 </fo:sequence>
15 </xsl:template>
16
17 <xsl:template match="emphasis/emphasis">
18 <fo:sequence font-style="upright">
19 <xsl:apply-templates/>
20 </fo:sequence>
21 </xsl:template>
22
23 </xsl:stylesheet>