]> granicus.if.org Git - docbook-dsssl/commitdiff
Reverting previous checkin. xsltproc rejects stylesheets
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 17 Jul 2007 05:11:16 +0000 (05:11 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 17 Jul 2007 05:11:16 +0000 (05:11 +0000)
containing @xml:id values that aren't NCNames.

litprog/weave.xweb

index 0f6b1119df6f0edfe38566d0956ed2d7c074939d..b9e61ecedd13f3f04e32d9cc6fd3f2f0afd555d0 100644 (file)
@@ -1156,7 +1156,7 @@ aren't copied.
   </xsl:template>
 
   <xsl:template match="src:fragment" priority="2">
-    <programlisting xml:id="{@*[local-name() = 'id']}">
+    <programlisting id="{@*[local-name() = 'id']}">
       <xsl:apply-templates mode="escaped"/>
     </programlisting>
   </xsl:template>