【发布时间】:2016-10-26 15:35:13
【问题描述】:
<test>
<child id="13680621263370126043"/>
<child id="13680621263370124329"/>
</test>
代码:
doc.SelectNodes(@"/test/child[@Id=13680621263370126043]");
返回的列表中包含两个子节点,什么给出?
【问题讨论】:
-
因为 xml 区分大小写。
Id与id不同。