Finding a string inside an XmlDocument

Posted by Gady on Stack Overflow See other posts from Stack Overflow or by Gady
Published on 2010-05-04T14:37:07Z Indexed on 2010/05/04 14:48 UTC
Read the original article Hit count: 371

Filed under:
|
|

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>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

Related posts about c#

Related posts about Xml