How to find attribute value
Posted
by Pramodh
on Stack Overflow
See other posts from Stack Overflow
or by Pramodh
Published on 2010-05-10T06:52:13Z
Indexed on
2010/05/10
6:54 UTC
Read the original article
Hit count: 313
Hi,
I need to find an inner text of an element inside an XmlDocument and return it's Xpath. for example, searching for "ThisText" inside :
<xml>
<xml2 val="ThisText"></xml2>
</xml>
should return the Xpath of xml2
what's the most efficient way of doing this in c#?
© Stack Overflow or respective owner