[gst-cvs] common: plugins.xsl: the anchor tag has to be empty

Stefan Kost ensonic at kemper.freedesktop.org
Fri Aug 13 07:18:09 PDT 2010


Module: common
Branch: master
Commit: ec60217bf93d537b324c3682c1bd7d49ad9ad9b3
URL:    http://cgit.freedesktop.org/gstreamer/common/commit/?id=ec60217bf93d537b324c3682c1bd7d49ad9ad9b3

Author: Stefan Kost <ensonic at users.sf.net>
Date:   Fri Aug 13 12:15:23 2010 +0300

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.

---

 plugins.xsl |    8 ++++----
 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>





More information about the Gstreamer-commits mailing list