bookmark

java - Dom4j selectNodes(arg) don't give list of nodes - Stack Overflow


Description

Map uris = new HashMap(); uris.put("pqr", "http://www.xyz.com/pqr"); XPath xpath = document.createXPath("/pqr:abcd/pqr:efg"); xpath.setNamespaceURIs(uris); List<Node> nodes = xpath.selectNodes(document);

Preview

Tags

Users

  • @jil

Comments and Reviews