summaryrefslogtreecommitdiff
path: root/docs/xslt/sambadoc2pearson.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/xslt/sambadoc2pearson.xsl')
-rw-r--r--docs/xslt/sambadoc2pearson.xsl24
1 files changed, 5 insertions, 19 deletions
diff --git a/docs/xslt/sambadoc2pearson.xsl b/docs/xslt/sambadoc2pearson.xsl
index 5028d05064..d712419375 100644
--- a/docs/xslt/sambadoc2pearson.xsl
+++ b/docs/xslt/sambadoc2pearson.xsl
@@ -13,29 +13,15 @@
<xsl:strip-space elements="smbconfoption smbconfsection"/>
- <xsl:template match="smbconfexample/smbconfsection|smbconfblock/smbconfsection">
+ <xsl:template match="smbconfblock/smbconfsection">
<xsl:text>&#10;</xsl:text>
<xsl:value-of select="."/><xsl:text>&#10;</xsl:text>
</xsl:template>
- <xsl:template match="smbconfexample/smbconfoption|smbconfblock/smbconfoption">
+ <xsl:template match="smbconfblock/smbconfoption">
<xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text> = </xsl:text><xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
</xsl:template>
- <xsl:template match="smbconfexample">
- <listing>
- <xsl:call-template name="transform.id.attribute"/>
- <xsl:if test="title != ''">
- <description><xsl:value-of select="title"/></description>
- </xsl:if>
- <listingcode>
- <xsl:for-each select="smbconfoption|smbconfsection|smbconfcomment">
- <xsl:apply-templates select="."/>
- </xsl:for-each>
- </listingcode>
- </listing>
- </xsl:template>
-
<xsl:template match="smbconfblock">
<xsl:call-template name="transform.id.attribute"/>
<listingcode>
@@ -60,13 +46,13 @@
</figure>
</xsl:template>
- <xsl:template match="smbconfexample/smbconfcomment|smbconfblock/smbconfcomment">
+ <xsl:template match="smbconfblock/smbconfcomment">
<xsl:text># </xsl:text><xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
</xsl:template>
- <xsl:template match="smbconfexample/member|smbconfblock/member">
+ <xsl:template match="smbconfblock/member">
<xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
- <xsl:message><xsl:text>Encountered &lt;member&gt; element inside of smbconfexample/smbconfblock!</xsl:text></xsl:message>
+ <xsl:message><xsl:text>Encountered &lt;member&gt; element inside of smbconfblock!</xsl:text></xsl:message>
</xsl:template>
<xsl:template match="filterline">