Next update of VFS modules development guide
[ira/wip.git] / docs-xml / xslt / db2latex-xsl / xsl / component.mod.xsl
1 <?xml version='1.0'?>
2 <!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
3 <!--############################################################################# 
4 |       $Id: component.mod.xsl,v 1.6 2004/01/03 12:17:59 j-devenish Exp $
5 |- #############################################################################
6 |       $Author: j-devenish $
7 + ############################################################################## -->
8
9 <xsl:stylesheet
10         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
11         xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
12         exclude-result-prefixes="doc" version='1.0'>
13
14         <doc:reference id="component" xmlns="">
15                 <referenceinfo>
16                         <releaseinfo role="meta">
17                                 $Id: component.mod.xsl,v 1.6 2004/01/03 12:17:59 j-devenish Exp $
18                         </releaseinfo>
19                         <authorgroup>
20                                 &ramon;
21                                 &james;
22                         </authorgroup>
23                         <copyright>
24                                 <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
25                                 <holder>Ramon Casellas</holder>
26                         </copyright>
27                         <revhistory>
28                                 <doc:revision rcasver="1.3">&rev_2003_05;</doc:revision>
29                         </revhistory>
30                 </referenceinfo>
31                 <title>Chapter-level Components <filename>component.mod.xsl</filename></title>
32                 <partintro>
33                         <para>The file <filename>component.mod.xsl</filename> contains
34                         XSL templates for a number of chapter-level components.</para>
35                 </partintro>
36         </doc:reference>
37
38         <!--
39         <xsl:template name="component.title">
40                 <xsl:variable name="id">
41                         <xsl:call-template name="label.id"><xsl:with-param name="object" select="."/></xsl:call-template>
42                 </xsl:variable>
43                 <xsl:text>&#10;{\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
44         </xsl:template>
45
46         <xsl:template name="component.subtitle">
47                 <xsl:variable name="subtitle"><xsl:apply-templates select="." mode="subtitle.content"/></xsl:variable>
48                 <xsl:if test="$subtitle != ''">
49                         <xsl:text>&#10;{\sc </xsl:text><xsl:copy-of select="$subtitle"/><xsl:text>}</xsl:text>
50                 </xsl:if>
51         </xsl:template>
52
53         <xsl:template name="component.separator"/>
54         -->
55
56         <doc:template xmlns="">
57                 <refpurpose>Process some simply chapter-level components</refpurpose>
58                 <doc:description>
59                         <para>
60                                 Invokes the mapping templates and applies content templates.
61                         </para>
62                 </doc:description>
63                 <doc:variables>
64                         &no_var;
65                 </doc:variables>
66                 <doc:seealso>
67                         <itemizedlist>
68                                 <listitem><simpara>&mapping;</simpara></listitem>
69                                 <listitem><simpara><xref linkend="template.content-templates"/></simpara></listitem>
70                         </itemizedlist>
71                 </doc:seealso>
72         </doc:template>
73         <xsl:template match="dedication|colophon|preface|partintro">
74                 <xsl:call-template name="map.begin"/>
75                 <xsl:call-template name="content-templates"/>
76                 <xsl:call-template name="map.end"/>
77         </xsl:template>
78
79         <!--
80         <xsl:template match="colophon">
81                 <xsl:call-template name="label.id"/>
82                 <xsl:text>&#10;{\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
83                 <xsl:if test="subtitle">
84                         <xsl:text>&#10;{\sc </xsl:text>
85                         <xsl:apply-templates select="subtitle"/>
86                         <xsl:text>}</xsl:text>
87                 </xsl:if>
88                 <xsl:call-template name="content-templates"/>
89         </xsl:template>
90         -->
91
92 </xsl:stylesheet>
93