RE: [xsl] Not So Newbie XPath Question

Subject: RE: [xsl] Not So Newbie XPath Question
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 19 Feb 2001 20:35:00 -0000
> Is the following the most reasonable way to do it?
> 
> z/*[preceding-sibling::a and not(self::a)][position() = 1]
> 
> I have tested it and it seems to be ok. 

It looks OK to me. An alternative is

z/a/following-sibling::*[not(self::a)][1]

Mike Kay

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


Current Thread