Seems that the eval() function in the CachedXPathAPI object returns an
incorrect result if the result is a nodeset/nodelist. It appears to always
return "one node short". If the Xpath expression would evaluate to a
nodeset of 60 nodes, the resulting XNodeSet only has 59 when cast to
Hi,
i am evaluating an XPath Query using the function
XPathAPI.eval(ctxNode,szQuery)
where ctxNode is the context node and szQuery is the XPath Query .
If ctxNode is an attribute node , i get a null exception.
Pls let me know as to what type of nodes can be passed as context Node to
this function
node here is
Does this eval function has a limitation that the Context Node can only be
an element node or a text node ?
Thanks.
Shruti.