public static javax.xml.xpath.XPath | newXPath(java.lang.String androidPrefix)Creates a new XPath object, specifying which prefix in the query is used for the
android namespace.
XPath xpath = sFactory.newXPath();
xpath.setNamespaceContext(new AndroidNamespaceContext(androidPrefix));
return xpath;
|