document.evalute function giving exception
- by R_Dhorawat
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 evalute 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....