summaryrefslogtreecommitdiff
path: root/sandbox/paultremblay/python_interface/docs/xsl/root.xsl
blob: f7af3afc967fdb62890899d7324ccbbf1cdc0067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    version="1.1">

    <!-- $Id$ -->

    <xsl:template match= "xsl:attribute-set[@name='default-page-sequence']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:page-sequence</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties for the all of the document.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='front-page-sequence']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:page-sequence</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-page-sequence</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties for the complete run of pages, in this case, the front matter.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='toc-page-sequence']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:page-sequence</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-page-sequence</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties for the complete run of pages, in this case, the toc and any
            pages associated with it.
        </block>
    </xsl:template>


    <xsl:template match= "xsl:attribute-set[@name='body-page-sequence']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:page-sequence</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-page-sequence</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties for the complete run of pages, in this case, the body.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='default-flow']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:flow</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
        </xsl:call-template>
        <block>
            Sets up the default attributes for the front-flow, toc-flow, 
            and body-flow
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='front-flow']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:flow</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-flow</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties of the body in the front sequence of pages. Since 
            the front sequence has no headers and footers, that means everything.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='toc-flow']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:flow</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-flow</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties of the body in the toc sequence of pages, which
            means everything except headers and footers.
        </block>
    </xsl:template>

    <xsl:template match= "xsl:attribute-set[@name='body-flow']" priority="3">
        <xsl:call-template name="before-desc">
            <xsl:with-param name="fo">fo:flow</xsl:with-param> 
            <xsl:with-param name="docutils">document</xsl:with-param> 
            <xsl:with-param name="inherits">default-flow</xsl:with-param> 
        </xsl:call-template>
        <block>
            Formats the properties of the body in the body sequence of pages, which
            means everything except headers and footers.
        </block>
    </xsl:template>



    
</xsl:stylesheet>