Snippets has posted 5883 posts at DZone. View Full User Profile
// Convert nodeset to nodelist
XPath xpath = XPathFactory.newInstance().newXPath();
NodeList nodes = (NodeList) xpath.evaluate("//Rule", rootNode, XPathConstants.NODESET);
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...