s3:lib/events: make use of tevent_common_loop_timer_delay()
[Samba/gebeck_regimport.git] / docs-xml / xslt / sambadoc2pearson.xsl
blob61008890ee7d53f5b2120ad9ea2eba6c7b9a3995
1 <?xml version='1.0'?>
2 <!--
3 Convert DocBook to XML validating against the Pearson DTD
5 (C) Jelmer Vernooij <jelmer@samba.org> 2004
7 Released under the GNU GPLv3 or later
8 -->
9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
11 exclude-result-prefixes="doc"
12 version="1.1" >
14 <xsl:import href="docbook2pearson.xsl"/>
16 <xsl:strip-space elements="smbconfoption smbconfsection"/>
18 <xsl:template match="smbconfblock/smbconfsection">
19 <xsl:text>&#10;</xsl:text>
20 <xsl:value-of select="."/><xsl:text>&#10;</xsl:text>
21 </xsl:template>
23 <xsl:template match="smbconfblock/smbconfoption">
24 <xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text> = </xsl:text><xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
25 </xsl:template>
27 <xsl:template match="smbconfblock">
28 <xsl:call-template name="transform.id.attribute"/>
29 <listingcode>
30 <xsl:apply-templates/>
31 </listingcode>
32 </xsl:template>
34 <xsl:template match="image">
35 <figure>
36 <xsl:call-template name="transform.id.attribute"/>
37 <description><xsl:value-of select="imagedescription"/></description>
38 <figureref>
39 <xsl:attribute name="fileref">
40 <xsl:value-of select="imagefile"/>
41 </xsl:attribute>
42 <xsl:if test="@scale != ''">
43 <xsl:attribute name="scale">
44 <xsl:value-of select="@scale"/>
45 </xsl:attribute>
46 </xsl:if>
47 </figureref>
48 </figure>
49 </xsl:template>
51 <xsl:template match="smbconfblock/smbconfcomment">
52 <xsl:text># </xsl:text><xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
53 </xsl:template>
55 <xsl:template match="smbconfblock/member">
56 <xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
57 <xsl:message><xsl:text>Encountered &lt;member&gt; element inside of smbconfblock!</xsl:text></xsl:message>
58 </xsl:template>
60 <xsl:template match="filterline">
61 <code><xsl:apply-templates/></code>
62 </xsl:template>
64 <xsl:template match="smbconfoption">
65 <code><xsl:value-of select="@name"/></code>
66 <xsl:if test="text() != ''">
67 <xsl:text> = </xsl:text>
68 <xsl:value-of select="text()"/>
69 </xsl:if>
70 <xsl:text>&#10;</xsl:text>
71 </xsl:template>
73 <xsl:template match="smbconfsection">
74 <code><xsl:apply-templates/></code>
75 </xsl:template>
77 <xsl:template match="ntgroup|ntuser">
78 <em><xsl:apply-templates/></em>
79 </xsl:template>
80 <!-- translator -->
82 </xsl:stylesheet>