This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[ira/wip.git] / docs / docbook / xslt / db2latex / callout.mod.xsl
1 <?xml version='1.0'?>
2 <!--############################################################################# 
3 |       $Id: callout.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
4 |- #############################################################################
5 |       $Author: ab $
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     <!-- DOCUMENTATION                                                                -->
17     <doc:reference id="callout" xmlns="">
18         <referenceinfo>
19             <releaseinfo role="meta">
20                 $Id: callout.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
21             </releaseinfo>
22             <authorgroup>
23             <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
24             <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
25             </authorgroup>
26             <copyright>
27                 <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
28                 <holder>Ramon Casellas</holder>
29             </copyright>
30         </referenceinfo>
31
32         <title>Callout <filename>callout.mod.xsl</filename></title>
33         <partintro>
34             <section><title>Introduction</title>
35                 <para></para>
36             </section>
37         </partintro>
38     </doc:reference>
39
40
41
42
43     <xsl:template match="programlistingco|screenco">
44         <xsl:apply-templates/>
45     </xsl:template>
46
47     <xsl:template match="areaspec|areaset|area">
48     </xsl:template>
49
50     <xsl:template match="co">
51         <xsl:apply-templates select="." mode="callout-bug"/>
52     </xsl:template>
53
54     <xsl:template match="co" mode="callout-bug">
55         <xsl:variable name="conum">
56             <xsl:number count="co" format="1"/>
57         </xsl:variable>
58
59         <xsl:text>(</xsl:text>
60         <xsl:value-of select="$conum"/>
61         <xsl:text>)</xsl:text>
62     </xsl:template>
63
64 </xsl:stylesheet>