读书人

查找xml语句,该如何处理

发布时间: 2012-02-27 10:00:22 作者: rapoo

查找xml语句
<ITEM>
<col name= "dwdm "> e300-4f93-92e5-3399c29b3730 </col>
</ITEM>

在这个xml中查找selectSingleNode 属性 name= "dwdm " and text 值为 ‘e300-4f93-92e5-3399c29b3730’
的条件语句怎么写。请教


[解决办法]
.selectSingleNode( "ITEM/col[@name= 'dwdm ' and text()= 'e300-4f93-92e5-3399c29b3730 '] ")

读书人网 >XML SOAP

热点推荐