diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-04-30 21:39:49 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-04-30 21:39:49 +0000 |
commit | bd30b6066f1a28663b28466a67064149b6e060a4 (patch) | |
tree | dc4478c5aafd9078f380e5e2ea11926519905fb0 /docs/docbook/smbdotconf/expand-smb.conf.xsl | |
parent | 049791de5b6e43e827e2be01a65958389d9c76e2 (diff) | |
download | samba-bd30b6066f1a28663b28466a67064149b6e060a4.tar.gz samba-bd30b6066f1a28663b28466a67064149b6e060a4.tar.bz2 samba-bd30b6066f1a28663b28466a67064149b6e060a4.zip |
Docbook XML conversion: XSLT and build infrastructure
(This used to be commit f4f6e0b29e744077dfb836745716a659a49d7529)
Diffstat (limited to 'docs/docbook/smbdotconf/expand-smb.conf.xsl')
-rw-r--r-- | docs/docbook/smbdotconf/expand-smb.conf.xsl | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/docbook/smbdotconf/expand-smb.conf.xsl b/docs/docbook/smbdotconf/expand-smb.conf.xsl index 87b4898cf7..62fc4a9ccf 100644 --- a/docs/docbook/smbdotconf/expand-smb.conf.xsl +++ b/docs/docbook/smbdotconf/expand-smb.conf.xsl @@ -12,6 +12,20 @@ <xsl:param name="xmlSambaNsUri" select="'http://samba.org/common'"/> +<xsl:template match="refentry"> +<xsl:text disable-output-escaping="yes"> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % globalentities SYSTEM './../global.ent'> %globalentities; +]> +</xsl:text> +<xsl:element name="refentry"> + <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> + <xsl:apply-templates/> +</xsl:element> +</xsl:template> + <!-- This is needed to copy content unchanged --> <xsl:template match="@*|node()"> <xsl:copy> @@ -61,8 +75,7 @@ </xsl:variable> <xsl:element name="varlistentry"> - <xsl:text> -</xsl:text> + <xsl:text> </xsl:text> <xsl:copy-of select="$term"/> <xsl:copy-of select="$content"/> <xsl:text> |