]> granicus.if.org Git - docbook-dsssl/commitdiff
Process all types of nodes under webpage (including PIs and comments) not only elements.
authorJirka Kosek <jirka@kosek.cz>
Thu, 3 Jun 2004 10:34:33 +0000 (10:34 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 3 Jun 2004 10:34:33 +0000 (10:34 +0000)
website/xsl/tabular.xsl
website/xsl/website.xsl

index ed943bbf74d61fb925a7c8e346eab0433e0b5cb6..dd1b8abb98fe0065311fe716eba309d2bc6abf16 100644 (file)
                 <xsl:apply-templates select="./head/title" mode="title.mode"/>
               </xsl:if>
 
-              <xsl:apply-templates select="child::*[name(.) != 'webpage']"/>
+              <xsl:apply-templates select="child::node()[not(self::webpage)]"/>
               <xsl:call-template name="process.footnotes"/>
               <br/>
             </td>
index 7e0708178c0bbb19c557374ddee30eb5dc62430b..3b52ceb64327ebaf082be79c6338eb6f1871289d 100644 (file)
@@ -65,7 +65,7 @@
 
         <xsl:apply-templates select="./head/title" mode="title.mode"/>
 
-        <xsl:apply-templates select="child::*[name(.)!='webpage']"/>
+        <xsl:apply-templates select="child::node()[not(self::webpage)]"/>
 
         <xsl:call-template name="process.footnotes"/>