1. node.selectNodes("//xml");
2. node.selectNodes("/xml");
3. node.selectNodes("xml");
1.相对于当前所有匹配的节点(可能多个)中选择
2.从根节点匹配
3.相对当前节点(唯一)
转载于:https://www.cnblogs.com/BigIdiot/archive/2013/01/15/2860924.html
1. node.selectNodes("//xml");
2. node.selectNodes("/xml");
3. node.selectNodes("xml");
1.相对于当前所有匹配的节点(可能多个)中选择
2.从根节点匹配
3.相对当前节点(唯一)
转载于:https://www.cnblogs.com/BigIdiot/archive/2013/01/15/2860924.html