1 package net.sourceforge.ejtools.deploy.xml; 2 3 import org.apache.xpath.XPathAPI; 4 import org.w3c.dom.Node ; 5 import org.w3c.dom.traversal.NodeIterator; 6 7 8 14 public class XPathHelper 15 { 16 17 18 public XPathHelper() { } 19 20 21 29 public NodeIterator processXPath(String xpath, Node target) throws Exception  30 { 31 return XPathAPI.selectNodeIterator(target, xpath); 32 } 33 } 34 35 | Popular Tags |