RE: [xsl] First Ancestor Occurrence

Subject: RE: [xsl] First Ancestor Occurrence
From: "Wilcox, Paul" <Paul.Wilcox@xxxxxxxxxxxxx>
Date: Tue, 28 Aug 2001 13:36:52 -0400
can this be used for a node stored in a variable rather than the context
node?

for example  
ancestor of $myNode::*[self::A or self::B or self::C][1]

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Tuesday, August 28, 2001 1:28 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] First Ancestor Occurrence




> "Selects the closest ancestor node which is one of elements <A>, <B> or
<C>?

ancestor::*[self::A or self::B or self::C][1]

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

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


Current Thread