]> granicus.if.org Git - docbook-dsssl/commitdiff
Emit namespace declaration for prefixes db and ng that are used inside XPath. Can...
authorJirka Kosek <jirka@kosek.cz>
Mon, 27 Mar 2006 08:36:02 +0000 (08:36 +0000)
committerJirka Kosek <jirka@kosek.cz>
Mon, 27 Mar 2006 08:36:02 +0000 (08:36 +0000)
xsl/profiling/xsl2profile.xsl

index 2341713c609ea245691f4631e7025dedf7292781..eea98c90a2ad9dbf49134cefd748dcc9b9adda95 100644 (file)
@@ -27,6 +27,8 @@
 <xsl:template match="xsl:stylesheet">
   <xsl:copy>
     <xsl:attribute name="exslt:dummy" xmlns:exslt="http://exslt.org/common">dummy</xsl:attribute>
+    <xsl:attribute name="ng:dummy" xmlns:ng="http://docbook.org/docbook-ng">dummy</xsl:attribute>
+    <xsl:attribute name="db:dummy" xmlns:db="http://docbook.org/ns/docbook">dummy</xsl:attribute>
     <xsl:if test="not(@extension-element-prefixes)">
       <xsl:attribute name="extension-element-prefixes">exslt</xsl:attribute>
     </xsl:if>