summaryrefslogtreecommitdiff
path: root/docs/xslt/extract-smbfiles.xsl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-12 16:31:19 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:45 -0500
commitdc448bdfbb479a245028c6f2b30b32d3cc7f0b50 (patch)
treec7103888b886594d6a5cecee7e2872f86dba340f /docs/xslt/extract-smbfiles.xsl
parentc8d6660c18545132e2fa975701e3f39e7d4d048b (diff)
downloadsamba-dc448bdfbb479a245028c6f2b30b32d3cc7f0b50.tar.gz
samba-dc448bdfbb479a245028c6f2b30b32d3cc7f0b50.tar.bz2
samba-dc448bdfbb479a245028c6f2b30b32d3cc7f0b50.zip
Get rid of unused elements, simply image handling
(This used to be commit 8fb0bb8ce4668ee0ed1e247dad57c9e9a5a233f6)
Diffstat (limited to 'docs/xslt/extract-smbfiles.xsl')
-rw-r--r--docs/xslt/extract-smbfiles.xsl41
1 files changed, 0 insertions, 41 deletions
diff --git a/docs/xslt/extract-smbfiles.xsl b/docs/xslt/extract-smbfiles.xsl
deleted file mode 100644
index 997320de4a..0000000000
--- a/docs/xslt/extract-smbfiles.xsl
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version='1.0'?>
-<!-- vim:set sts=2 shiftwidth=2 syntax=xml: -->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"
- version="1.1"
- extension-element-prefixes="exsl">
-
-<xsl:output method="xml"/>
-
-<!-- Parse all varlistentries and extract those of them which are descriptions of smb.conf
- parameters. We determine them by existence of <anchor> element inside <term> element.
- If <anchor> is there, then its 'id' attribute is translated to lower case and is used
- as basis for file name for that parameter.
--->
-<xsl:template match="smbfile">
- <!-- reconstruct varlistentry - not all of them will go into separate files
- and also we must repair the main varlistentry itself.
- -->
- <xsl:variable name="content">
- <xsl:apply-templates/>
- </xsl:variable>
- <!-- Now put varlistentry into separate file _if_ it has anchor associated with it -->
- <xsl:variable name="filename"><xsl:text>output/examples/</xsl:text><xsl:value-of select="@name"/></xsl:variable>
- <!-- Debug message for an operator, just to show progress of processing :) -->
- <xsl:message>
- <xsl:text>Writing </xsl:text>
- <xsl:value-of select="$filename"/>
- </xsl:message>
- <!-- Write finally varlistentry to a separate file -->
- <exsl:document href="{$filename}"
- method="xml"
- encoding="UTF-8"
- indent="yes"
- omit-xml-declaration="yes">
- <xsl:copy-of select="$content"/>
- </exsl:document>
-</xsl:template>
-
-</xsl:stylesheet>
-