2 <!--#############################################################################
3 | $Id: component.mod.xsl,v 1.1.2.1 2003/05/01 14:06:14 jelmer 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'>
17 <!--############################################################################# -->
18 <!-- DOCUMENTATION -->
19 <doc:reference id="component" xmlns="">
21 <releaseinfo role="meta">
22 $Id: component.mod.xsl,v 1.1.2.1 2003/05/01 14:06:14 jelmer Exp $
25 <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
26 <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
29 <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
30 <holder>Ramon Casellas</holder>
34 <title>Component <filename>component.mod.xsl</filename></title>
36 <section><title>Introduction</title>
45 <xsl:template name="component.title">
46 <xsl:variable name="id">
47 <xsl:call-template name="label.id"><xsl:with-param name="object" select="."/></xsl:call-template>
49 <xsl:text> {\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text>
54 <xsl:template name="component.subtitle">
55 <xsl:variable name="subtitle"><xsl:apply-templates select="." mode="subtitle.content"/></xsl:variable>
56 <xsl:if test="$subtitle != ''">
57 <xsl:text> {\sc </xsl:text><xsl:copy-of select="$subtitle"/><xsl:text>}</xsl:text>
63 <xsl:template name="component.separator">
68 <xsl:template match="colophon">
69 <xsl:variable name="id"><xsl:call-template name="label.id"/></xsl:variable>
70 <xsl:call-template name="component.separator"/>
71 <xsl:call-template name="component.title"/>
72 <xsl:call-template name="component.subtitle"/>
73 <xsl:apply-templates/>
77 <xsl:template match="colophon/title"/>
81 <xsl:template match="bibliography" mode="component.number">
82 <xsl:param name="add.space" select="false()"/>
85 <xsl:template match="glossary" mode="component.number">
86 <xsl:param name="add.space" select="false()"/>
89 <xsl:template match="index" mode="component.number">
90 <xsl:param name="add.space" select="false()"/>