Sorry, I found no user list so...

I have a DOM. Using XPathAPI.selectNodeList(Node,XPath)
works just fine. Now I need to start a XPath query
from a descendant node in the DOM (and not the document
root node).

The results are not what I like them to be. I was wondering
if the use of the ancestor axis in the query might cause
the unexpected behavior.
I was wondering because I'm starting a XPath query on
a node that has siblings and a parent node (not like a
document root node).

Are the ancestors of the start node (of selectNodeList(startnode,XPath))
are taken into account? This might explain the weirdness...

Any comments are welcome!
Thanks
--
Torsten

Reply via email to