vb.net - Get value through one of the xmlnode property for currentnode -


my current xml node :

<item xsi:type="itm:resource"> <id>10</id> </item> 

i want read whole tag , search whether resource there or not in tag :

selectsinglenode.outerxml.contains("resource") 

but outer xml considering tags inside item , want current node

have tried other properties name,value indeeds return "item"

i have done in different way selectsinglenode("xpath").attributes(0).value.contains("resource") hope helps


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

How to prevent logback from emitting repeated "Empty watch file list. Disabling" messages -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -