2004-10-05 17:20:54 +04:00
<?xml version='1.0'?>
<!--
Convert DocBook to XML validating against the Pearson DTD
(C) Jelmer Vernooij <jelmer @ s a m b a . o r g > 2004
2009-05-01 22:36:56 +04:00
Released under the GNU GPLv3 or later
2004-10-05 17:20:54 +04:00
-->
<xsl:stylesheet xmlns:xsl= "http://www.w3.org/1999/XSL/Transform"
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
exclude-result-prefixes="doc"
version="1.1" >
<xsl:import href= "docbook2pearson.xsl" />
2004-10-06 01:33:36 +04:00
<xsl:strip-space elements= "smbconfoption smbconfsection" />
2005-06-13 04:48:46 +04:00
<xsl:template match= "smbconfblock/smbconfsection" >
2004-10-06 01:33:36 +04:00
<xsl:text > </xsl:text>
2004-10-05 17:20:54 +04:00
<xsl:value-of select= "." /> <xsl:text > </xsl:text>
</xsl:template>
2005-06-13 04:48:46 +04:00
<xsl:template match= "smbconfblock/smbconfoption" >
2005-03-13 01:34:38 +03:00
<xsl:text > </xsl:text> <xsl:value-of select= "@name" /> <xsl:text > = </xsl:text> <xsl:value-of select= "text()" /> <xsl:text > </xsl:text>
2004-10-05 17:20:54 +04:00
</xsl:template>
2004-10-06 01:33:36 +04:00
<xsl:template match= "smbconfblock" >
<xsl:call-template name= "transform.id.attribute" />
<listingcode >
<xsl:apply-templates />
</listingcode>
</xsl:template>
<xsl:template match= "image" >
<figure >
<xsl:call-template name= "transform.id.attribute" />
<description > <xsl:value-of select= "imagedescription" /> </description>
<figureref >
<xsl:attribute name= "fileref" >
<xsl:value-of select= "imagefile" />
</xsl:attribute>
<xsl:if test= "@scale != ''" >
<xsl:attribute name= "scale" >
<xsl:value-of select= "@scale" />
</xsl:attribute>
</xsl:if>
</figureref>
</figure>
</xsl:template>
2005-06-13 04:48:46 +04:00
<xsl:template match= "smbconfblock/smbconfcomment" >
2004-10-06 01:33:36 +04:00
<xsl:text > # </xsl:text> <xsl:value-of select= "text()" /> <xsl:text > </xsl:text>
</xsl:template>
2005-06-13 04:48:46 +04:00
<xsl:template match= "smbconfblock/member" >
2004-10-06 01:33:36 +04:00
<xsl:value-of select= "text()" /> <xsl:text > </xsl:text>
2005-06-13 04:48:46 +04:00
<xsl:message > <xsl:text > Encountered < member> element inside of smbconfblock!</xsl:text> </xsl:message>
2004-10-06 01:33:36 +04:00
</xsl:template>
<xsl:template match= "filterline" >
<code > <xsl:apply-templates /> </code>
</xsl:template>
<xsl:template match= "smbconfoption" >
2005-03-13 01:34:38 +03:00
<code > <xsl:value-of select= "@name" /> </code>
<xsl:if test= "text() != ''" >
2004-10-06 01:33:36 +04:00
<xsl:text > = </xsl:text>
2005-03-13 01:34:38 +03:00
<xsl:value-of select= "text()" />
2004-10-06 01:33:36 +04:00
</xsl:if>
<xsl:text > </xsl:text>
</xsl:template>
<xsl:template match= "smbconfsection" >
<code > <xsl:apply-templates /> </code>
</xsl:template>
<xsl:template match= "ntgroup|ntuser" >
<em > <xsl:apply-templates /> </em>
</xsl:template>
<!-- translator -->
2004-10-05 17:20:54 +04:00
</xsl:stylesheet>