plugins.xsl: the anchor tag has to be empty
authorStefan Kost <ensonic@users.sf.net>
Fri, 13 Aug 2010 09:15:23 +0000 (12:15 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 13 Aug 2010 10:54:17 +0000 (13:54 +0300)
Move the name out of the anchor and move the anchor to refpurpose tag. Fixes
generation of non compliant docbook xml.

plugins.xsl

index 7f93e3b..60515b6 100644 (file)
 
       <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>