Evaluating an XPath expression in XML

JennyDiver

New Member
When using the Add-on SDK to create a Firefox add-on, how do you process an XML file?Evaluate with XPath throws an error:\[quote\] XPathResult is not defined\[/quote\]I am trying to process this XML data with this code:\[code\]var iterator = xmlDoc.evaluate('//stream', xmlDoc, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null);\[/code\]
 
Back
Top