6965cfaf4e9d1c6dd54aaafd76fc2c3dbffc7253
[samba.git] / docs / docbook / xslt / db2latex / para.mod.xsl
1 <?xml version='1.0'?>
2 <!--############################################################################# 
3 |       $Id: para.mod.xsl,v 1.1.2.1 2003/05/01 14:06:15 jelmer Exp $
4 |- #############################################################################
5 |       $Author: jelmer $
6 |                                                                                                               
7 |   PURPOSE:
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
15     <!--############################################################################# -->
16     <!-- DOCUMENTATION                                                                -->
17     <doc:reference id="para" xmlns="">
18         <referenceinfo>
19             <releaseinfo role="meta">
20                 $Id: para.mod.xsl,v 1.1.2.1 2003/05/01 14:06:15 jelmer 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         <title>Paragraphs <filename>para.mod.xsl</filename></title>
32         <partintro>
33             <section><title>Introduction</title>
34                 <para></para>
35             </section>
36         </partintro>
37     </doc:reference>
38
39
40
41
42     <xsl:template match="para">
43         <xsl:text>&#10;</xsl:text>
44         <xsl:apply-templates/>
45         <xsl:text>&#10;</xsl:text>
46     </xsl:template>
47
48     <xsl:template match="simpara">
49         <xsl:text>&#10;</xsl:text>
50         <xsl:apply-templates/>
51         <xsl:text>&#10;</xsl:text>
52     </xsl:template>
53
54     <xsl:template match="formalpara">
55         <xsl:text>&#10;\textbf{</xsl:text>
56         <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="title"/></xsl:call-template>
57         <xsl:text>} </xsl:text>
58         <xsl:apply-templates/>
59         <xsl:text>&#10;</xsl:text>
60         <xsl:text>&#10;</xsl:text>
61     </xsl:template>
62
63     <xsl:template match="formalpara/title"/>
64
65     <!--========================================================================== 
66     |   Especial Cases Do not add Linefeed 
67     +============================================================================-->
68
69     <xsl:template match="textobject/para"> <xsl:apply-templates/> </xsl:template>
70     <xsl:template match="step/para"> <xsl:apply-templates/> </xsl:template>
71     <xsl:template match="entry/para"> <xsl:apply-templates/> </xsl:template>
72     <xsl:template match="question/para"> <xsl:apply-templates/> </xsl:template>
73
74 </xsl:stylesheet>