Re: [xsl] Hierarchy problem

Subject: Re: [xsl] Hierarchy problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 22 Jul 2002 15:17:13 +0100
> <shhh, don't let DC read this> 'is in the nodeset' I interpreted
> as '$node is a member of $node-set' </sssh>
> 
> I guess this works even if $node is *anywhere* in the document tree.
> Just so long as its been collected into $node-set by some means.

Yes that's all true but only if you know $node  contains a single node.
Not if it contains none or more than one (then you have to generalise
slightly) it may be you think the generalisation is obvious, but
another way of saying it is that you have to use "subset" rather than
"member".


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread