]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in handling of attributes in mode="copy"
authorBob Stayton <bobs@sagehill.net>
Thu, 1 Dec 2011 22:08:02 +0000 (22:08 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 1 Dec 2011 22:08:02 +0000 (22:08 +0000)
xsl/template/titlepage.xsl

index 48833a201ae0fe4b04b28902889cda043ff889c8..fb719b43b414d68fb937b8b1d39e81a80c9038cf 100644 (file)
@@ -717,14 +717,12 @@ straight through into the result tree.</para>
   <xsl:choose>
     <xsl:when test="(name(.) = local-name(.)) and namespace-uri(.) != ''">
       <xsl:attribute name="{name(.)}" namespace="{namespace-uri(.)}">
-       <xsl:apply-templates select="@*" mode="copy"/>
-       <xsl:apply-templates mode="copy"/>
+       <xsl:value-of select="."/>
       </xsl:attribute>
     </xsl:when>
     <xsl:otherwise>
       <xsl:attribute name="{name(.)}">
-       <xsl:apply-templates select="@*" mode="copy"/>
-       <xsl:apply-templates mode="copy"/>
+       <xsl:value-of select="."/>
       </xsl:attribute>
     </xsl:otherwise>
   </xsl:choose>