这是我的 XML:
<?xml version="1.0"?>
<Revision>
<Revision Index="1"/>
</Revision>
使用时DomDocument(ver 3)
我可以运行以下命令(在 VB6 中):
Set objNode = objDom.documentElement.selectSingleNode("//.[@Index = '1']")
这是为了标识该属性与其值一起存在。
现在移动到DomDocument60(ver 6)
这条线后失败。
我应该如何重新编写它以使其适用DomDocument60
?
在此先感谢多伦