xsl-list
[Top] [All Lists]

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

2004-02-27 03:11:38

 test="not('The preceding sibling is an A node')"/>


test="not(preceing-sibling::*[1][self::A])"




You may want to look at 
http://www.biglist.com/lists/xsl-list/archives/200402/msg01074.html
including a fix in a followup msg)

and the same answer to a different question earlier in the month

http://www.biglist.com/lists/xsl-list/archives/200402/msg00340.html


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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