]> granicus.if.org Git - docbook-dsssl/commitdiff
Adjust namespace fixup for namespace build process.
authorBob Stayton <bobs@sagehill.net>
Thu, 6 Feb 2014 02:55:46 +0000 (02:55 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 6 Feb 2014 02:55:46 +0000 (02:55 +0000)
xsl/webhelp/xsl/webhelp-common.xsl

index 651e63822c372cfad4adbcd04e2e844c5186cf4c..b0ef80e9419b795e87f846bd38fb2beb46746cc5 100644 (file)
@@ -379,7 +379,8 @@ border: none; background: none; font-weight: none; color: none; }
          toss the namespace and continue.  Use the docbook5 namespaced
          stylesheets for DocBook5 if you don't want to use this feature.-->
          <!-- include extra test for Xalan quirk -->
-         <xsl:when test="$exsl.node.set.available != 0                     and (*/self::ng:* or */self::db:*)">
+          <xsl:when test="$exsl.node.set.available != 0 and 
+                  namespace-uri(/*) = 'http://docbook.org/ns/docbook'">
                <xsl:call-template name="log.message">
                  <xsl:with-param name="level">Note</xsl:with-param>
                  <xsl:with-param name="source" select="$doc.title"/>