xsl-list
[Top] [All Lists]

RE: seeking clarification on node()

2002-12-02 06:42:42
Hi,

The documentation on node() is a little sparse. In 
particular, I am not sure
of the difference between the expressions child::* and 
node(). I notice

node() is short for child::node(). child::* will select all child element 
nodes, while child::node() will select all child element, comment, 
processing-instruction, and text nodes.

different behavior for these. The particular problem I addressed was
creating a node list for a recursive template - child::* 
works but node()
doesn't.

Doesn't work how?

Cheers,

Jarno

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



<Prev in Thread] Current Thread [Next in Thread>