dom4j selectNodes

1. node.selectNodes("//xml");
2. node.selectNodes("/xml");
3. node.selectNodes("xml");

1.相对于当前所有匹配的节点(可能多个)中选择
2.从根节点匹配
3.相对当前节点(唯一)
原文地址:https://www.cnblogs.com/BigIdiot/p/2860924.html