diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-09-25 19:25:13 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-09-25 19:25:13 +0000 |
commit | c681349e8fc63088af8a3a27921a3c870ea4a115 (patch) | |
tree | ed1391b6d7aaa889c3d7829b046d5352d45eeb37 /docs/docbook/xslt/html-common.xsl | |
parent | 6224cfec7b789471e2eaedc25764f2b8101b29c1 (diff) | |
download | samba-c681349e8fc63088af8a3a27921a3c870ea4a115.tar.gz samba-c681349e8fc63088af8a3a27921a3c870ea4a115.tar.bz2 samba-c681349e8fc63088af8a3a27921a3c870ea4a115.zip |
Add some updates necessary to build the 3.0 docs (forgot them last night).
(This used to be commit 72434db17a86a8c277ca989ac858cb54cbc815dc)
Diffstat (limited to 'docs/docbook/xslt/html-common.xsl')
-rw-r--r-- | docs/docbook/xslt/html-common.xsl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/docbook/xslt/html-common.xsl b/docs/docbook/xslt/html-common.xsl index dce900ef67..eeb7d5d6b4 100644 --- a/docs/docbook/xslt/html-common.xsl +++ b/docs/docbook/xslt/html-common.xsl @@ -3,6 +3,40 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:template match="ulink"> + <xsl:element name="ulink"> + <xsl:attribute name="url"> + <xsl:value-of select="@url"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test=". != ''"> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@url"/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> +</xsl:template> + + + +<xsl:template match="link"> + <xsl:element name="link"> + <xsl:attribute name="linkend"> + <xsl:value-of select="@linkend"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test=". != ''"> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@linkend"/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> +</xsl:template> + <xsl:param name="base.dir" select="'../htmldocs/'"/> <xsl:param name="bridgehead.in.toc" select="1"/> <xsl:param name="citerefentry.link" select="'1'"/> |