I have a code like
res = doc.evalute(xpathExpr,doc,
function(prefix) {return namespaces[prefix] || null;},
XPathResult.ANY_TYPE,null );
Here doc is DOM document node
When i run for loop like this
for(i in doc) alert(i);
it gives evaluate method
but when i tried to use this method on dom node it giving me error like
xpathResult not defined...
i'm working in android browser
thanks in advance....