2 <!--#############################################################################
3 | $Id: foil.mod.xsl,v 1.1 2003/04/06 18:31:49 rcasellas Exp $
4 |- #############################################################################
8 + ############################################################################## -->
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="">
20 <!--############################################################################# -->
22 <xsl:template match="foilgroup">
23 <xsl:text> </xsl:text>
24 <xsl:text>%---------------------------------------------------------------------- PART </xsl:text>
25 <xsl:text>\part{</xsl:text><xsl:apply-templates select="title"/><xsl:text> } </xsl:text>
26 <xsl:text>%---------------------------------------------------------------------- PART </xsl:text>
27 <xsl:call-template name="label.id"/>
28 <xsl:text> </xsl:text>
29 <xsl:apply-templates select="foil"/>
32 <xsl:template match="foilgroup/title">
33 <xsl:apply-templates />
36 <xsl:template match="foil">
37 <xsl:text> </xsl:text>
38 <xsl:text>%---------------------------------------------------------------------- SLIDE </xsl:text>
39 <xsl:text>\begin{slide}{</xsl:text>
40 <xsl:apply-templates select="title"/>
41 <xsl:text>} </xsl:text>
42 <xsl:call-template name="label.id"/>
43 <xsl:text> </xsl:text>
44 <xsl:apply-templates select="*[not (self::title)]"/>
45 <xsl:text>\end{slide} </xsl:text>
48 <xsl:template match="foil/title">
49 <xsl:apply-templates />