]> granicus.if.org Git - docbook-dsssl/commitdiff
Support @xml:id as well as @id; added debugging messages to time processing of DocBoo...
authorNorman Walsh <ndw@nwalsh.com>
Fri, 31 Dec 2004 13:01:58 +0000 (13:01 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 31 Dec 2004 13:01:58 +0000 (13:01 +0000)
xsl/html/docbook.xsl

index 29a14dbf59bee5ed5c34506194ac4479b781e6ca..271e3d9b850b7dcacf4b691e566df8bfa9700a9f 100644 (file)
@@ -74,7 +74,7 @@
 
 <!-- ==================================================================== -->
 
-<xsl:key name="id" match="*" use="@id"/>
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
 
 <!-- ==================================================================== -->
 
@@ -296,9 +296,11 @@ body { background-image: url('</xsl:text>
       <!-- and continue. Someday we may reverse this logic and add the namespace -->
       <!-- to documents that don't have one. But not before the whole stylesheet -->
       <!-- has been converted to use namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping NS from DocBook-NG document.</xsl:message>
       <xsl:variable name="nons">
        <xsl:apply-templates mode="stripNS"/>
       </xsl:variable>
+      <xsl:message>Processing stripped document.</xsl:message>
       <xsl:apply-templates select="exsl:node-set($nons)"/>
     </xsl:when>
     <xsl:otherwise>