How to test whether a node contains particular string or character as its text value?
Posted
by beginner
on Stack Overflow
See other posts from Stack Overflow
or by beginner
Published on 2010-04-01T13:55:30Z
Indexed on
2010/04/01
14:03 UTC
Read the original article
Hit count: 123
c#
How to test whether a node contains particular string or character using C# code.
example:
<abc>
<foo>data testing</foo>
<foo>test data</foo>
<bar>data value</bar>
</abc>
Now I need to test the particular node value has the string "testing" ?
The output would be "foo[1]"
© Stack Overflow or respective owner