[xsl] question about child::node()

Subject: [xsl] question about child::node()
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2003 11:05:58 +0000
what is the difference between:
<xsl:if test="local-name(//preface/child::paramod)"/>
and
<xsl:if test="local-name(//preface/child::node())='paramod'">

the first test works but the second not why?

i want to test if the child of the node "prefcae"  is "paramod" node.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread