[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: XPath problem: Checking if imidiately preceding sibling is of a certain kind
From: Kevin Jones <kjones@xxxxxxxxxxx>
Date: Fri, 27 Feb 2004 10:50:39 +0000
>
> I have tried to look at the name() function, but I don't think
> I understand it correctly
> test="not(preceding-sibling::*[1]/name()='A'" goes totally
> wrong.
>

I think you wanted,

name(preceding-sibling::*[1])!='A'

Kev.


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member