[dom4j-user] Does node exist
Hi; Is there a call that returns if a node exists (based on a xpath query)? The best I have some up with is: node.selectNodes(xpath).size() > 0 which I am assuming is not very efficient. Is there a better way thanks - dave
[dom4j-user] Does node exist
Hi; Is there a call that returns if a node exists (based on a xpath query)? The best I have some up with is: node.selectNodes(xpath).size() > 0 which I am assuming is not very efficient. Is there a better way thanks - dave