diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-23 12:20:38 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-23 12:20:38 +0000 |
commit | 4e75080ca145e0e74a549a74c2031ace3610f1f9 (patch) | |
tree | 2259e9420258fdc535a3311a51c08fe3fcf93bd3 | |
parent | cdfbb85da359543b8d44f36e8021e8a1268a38ca (diff) |
Fix XMLNS for internal links
-rw-r--r-- | tools/doc-generator.xsl | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl index ecd12418..c3f485d3 100644 --- a/tools/doc-generator.xsl +++ b/tools/doc-generator.xsl @@ -126,8 +126,11 @@ </xsl:template> <xsl:template match="tp:enum"> - <a name="{concat(../@name, concat('.', @name))}"></a> - <h3 xmlns="http://www.w3.org/1999/xhtml"><xsl:value-of select="@name"/></h3> + <h3 xmlns="http://www.w3.org/1999/xhtml"> + <a name="{concat(../@name, concat('.', @name))}"> + <xsl:value-of select="@name"/> + </a> + </h3> <xsl:apply-templates select="tp:docstring" /> <dl xmlns="http://www.w3.org/1999/xhtml"> <xsl:variable name="value-prefix"> @@ -168,8 +171,10 @@ <xsl:template match="method"> <div xmlns="http://www.w3.org/1999/xhtml" class="method"> - <a name="{concat(../@name, concat('.', @name))}"></a> - <h3 xmlns="http://www.w3.org/1999/xhtml"><xsl:value-of select="@name"/> ( + <h3 xmlns="http://www.w3.org/1999/xhtml"> + <a name="{concat(../@name, concat('.', @name))}"> + <xsl:value-of select="@name"/> + </a> ( <xsl:for-each xmlns="" select="arg[@direction='in']"> <xsl:value-of select="@type"/>: <xsl:value-of select="@name"/> <xsl:if test="position() != last()">, </xsl:if> @@ -265,8 +270,10 @@ <xsl:template match="signal"> <div xmlns="http://www.w3.org/1999/xhtml" class="signal"> - <a name="{concat(../@name, concat('.', @name))}"></a> - <h3 xmlns="http://www.w3.org/1999/xhtml"><xsl:value-of select="@name"/> ( + <h3 xmlns="http://www.w3.org/1999/xhtml"> + <a name="{concat(../@name, concat('.', @name))}"> + <xsl:value-of select="@name"/> + </a> ( <xsl:for-each xmlns="" select="arg"> <xsl:value-of select="@type"/>: <xsl:value-of select="@name"/> <xsl:if test="position() != last()">, </xsl:if> |