查找xml语句,该如何处理

查找xml语句ITEMcolname dwdm e300-4f93-92e5-3399c29b3730 /col/ITEM在这个xml中查找selectS

查找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 '] ")