[Project_owners] XPATH Implementation broken?

Nathaniel Jayme nbjayme at yahoo.com
Sun May 7 21:48:10 EDT 2006


Hello folks.

I have the following code:

testNode = document.getElementById('testid');

result =document.evaluate("//*[@uda_cxmltag]",
testNode, null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
null);

i want to get the Elements with uda_cxmltag attribute
within the testNode DOM.  Mozilla returns a XPath
result that include elements outside the testNode.

is this a Mozilla bug?  if not, how should it be done?

thanks for the help.

NBJayme

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Project_owners mailing list