Moving docs tree to docs-xml to make room for generated docs in the release tarball.
[Samba.git] / docs-xml / xslt / db2latex-xsl / xsl / slides / foil.mod.xsl
blob32f1b895bf1fddc8ca1c965bb4707a66445fec9f
1 <?xml version='1.0'?>
2 <!--#############################################################################
3 | $Id: foil.mod.xsl,v 1.1 2003/04/06 18:31:49 rcasellas Exp $
4 |- #############################################################################
5 | $Author: rcasellas $
6 |
7 | PURPOSE:
8 + ############################################################################## -->
10 <xsl:stylesheet
11 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
13 exclude-result-prefixes="doc" version='1.0'>
16 <!--############################################################################# -->
17 <!-- DOCUMENTATION -->
18 <doc:reference id="foil" xmlns="">
19 </doc:reference>
20 <!--############################################################################# -->
22 <xsl:template match="foilgroup">
23 <xsl:text> &#10;&#10;</xsl:text>
24 <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
25 <xsl:text>\part{</xsl:text><xsl:apply-templates select="title"/><xsl:text> }&#10;</xsl:text>
26 <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
27 <xsl:call-template name="label.id"/>
28 <xsl:text>&#10;&#10;</xsl:text>
29 <xsl:apply-templates select="foil"/>
30 </xsl:template>
32 <xsl:template match="foilgroup/title">
33 <xsl:apply-templates />
34 </xsl:template>
36 <xsl:template match="foil">
37 <xsl:text>&#10;</xsl:text>
38 <xsl:text>%---------------------------------------------------------------------- SLIDE &#10;</xsl:text>
39 <xsl:text>\begin{slide}{</xsl:text>
40 <xsl:apply-templates select="title"/>
41 <xsl:text>}&#10;</xsl:text>
42 <xsl:call-template name="label.id"/>
43 <xsl:text>&#10;</xsl:text>
44 <xsl:apply-templates select="*[not (self::title)]"/>
45 <xsl:text>\end{slide}&#10;</xsl:text>
46 </xsl:template>
48 <xsl:template match="foil/title">
49 <xsl:apply-templates />
50 </xsl:template>
52 </xsl:stylesheet>