![]() |
1
2
|
![]() |
2
0
node.getDocument().getRootElement()此时您拥有的元素没有属性“id”。 改为尝试node.getAttribute(“id”)吗(假设节点不为空) |