~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/xslt/db2latex-xsl/xsl/slides/foil.mod.xsl

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
+ ############################################################################## -->
 
9
 
 
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'>
 
14
 
 
15
 
 
16
    <!--############################################################################# -->
 
17
    <!-- DOCUMENTATION                                                                -->
 
18
    <doc:reference id="foil" xmlns="">
 
19
    </doc:reference>
 
20
    <!--############################################################################# -->
 
21
 
 
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>
 
31
 
 
32
    <xsl:template match="foilgroup/title">
 
33
        <xsl:apply-templates />
 
34
    </xsl:template>
 
35
 
 
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>
 
47
 
 
48
    <xsl:template match="foil/title">
 
49
        <xsl:apply-templates />
 
50
    </xsl:template>
 
51
 
 
52
</xsl:stylesheet>