xsl-list
[Top] [All Lists]

Re: XPath problem: Checking if imidiately preceding sibling is of a certain kind

2004-02-27 03:50:39

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