RE: XPath optional node question

Subject: RE: XPath optional node question
From: "Lynn Monson" <lmonson@xxxxxxxxxxx>
Date: Mon, 4 Dec 2000 13:11:40 -0700
> My try for a solution was incorrect -- a straightforward XPath solution
> might not be possible.

If my path is rooted at the document (/foo/...), I thought of the following
(the syntax isn't quite right, but hopefully its clear):

/foo//bar[ !ancestor::*[name()!='foo' and name()!='a' and name()!='b' ]]

But that won't work if my path is a relative one...


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


Current Thread