# Pearson compatible XML
-$(PEARSONDIR)/%.xml: $(DOCBOOKDIR)/%.xml xslt/pearson.xsl
+$(PEARSONDIR)/%.xml: %/index.xml xslt/pearson.xsl
mkdir -p $(@D)
- $(XSLTPROC) --xinclude --output $@ xslt/pearson.xsl $<
+ $(XSLTPROC) --xinclude --output $@ xslt/sambadoc2pearson.xsl $<
$(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml
mkdir -p $(@D)
<varlistentry>
<term>ntlmssp-client-1</term>
<listitem><para>
- Cleint-side helper for use with arbitary external
+ Client-side helper for use with arbitary external
programs that may wish to use Samba's NTLMSSP
authentication knowlege. </para>
<para>This helper is a client, and as such may be run by any
--- /dev/null
+<?xml version='1.0'?>
+<!--
+ Convert DocBook to XML validating against the Pearson DTD
+
+ (C) Jelmer Vernooij <jelmer@samba.org> 2004
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:exsl="http://exslt.org/common"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc"
+ version="1.1" >
+
+ <xsl:import href="docbook2pearson.xsl"/>
+
+ <xsl:template match="smbfile">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="smbconfexample/smbconfsection">
+ <xsl:value-of select="."/><xsl:text> </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="smbconfexample/smbconfoption">
+ <xsl:value-of select="name"/><xsl:text> = </xsl:text><xsl:value-of select="value"/><xsl:text> </xsl:text>
+ </xsl:template>
+
+ <xsl:template match="smbconfexample">
+ <listing>
+ <xsl:if test="title != ''">
+ <description><xsl:value-of select="title"/></description>
+ </xsl:if>
+ <listingcode>
+ <xsl:apply-templates/>
+ </listingcode>
+ </listing>
+ </xsl:template>
+</xsl:stylesheet>