Re: [xsl] First Ancestor Occurrence

Subject: Re: [xsl] First Ancestor Occurrence
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 28 Aug 2001 18:27:58 +0100

> "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


Current Thread