summaryrefslogtreecommitdiff
path: root/plugins.xsl
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-08-13 12:15:23 +0300
committerStefan Kost <ensonic@users.sf.net>2010-08-13 13:54:17 +0300
commitec60217bf93d537b324c3682c1bd7d49ad9ad9b3 (patch)
treef7b01fa585e67b88d12642aa044f94a0f5d94b30 /plugins.xsl
parent3e8db1d3bbc6e0be3e2aa1f4850b7c1b62676b67 (diff)
plugins.xsl: the anchor tag has to be empty
Move the name out of the anchor and move the anchor to refpurpose tag. Fixes generation of non compliant docbook xml.
Diffstat (limited to 'plugins.xsl')
-rw-r--r--plugins.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins.xsl b/plugins.xsl
index 7f93e3b..60515b6 100644
--- a/plugins.xsl
+++ b/plugins.xsl
@@ -125,13 +125,13 @@
<xsl:element name="refnamediv">
<xsl:element name="refname">
- <xsl:element name="anchor">
- <xsl:attribute name="id">plugin-<xsl:value-of select="name"/></xsl:attribute>
- <xsl:value-of select="name"/>
- </xsl:element>
+ <xsl:value-of select="name"/>
</xsl:element>
<xsl:element name="refpurpose">
+ <xsl:element name="anchor">
+ <xsl:attribute name="id">plugin-<xsl:value-of select="name"/></xsl:attribute>
+ </xsl:element>
<xsl:value-of select="description"/>
</xsl:element>
</xsl:element>