You're close, but your xml is invalid to begin with.
A valid XPath would be "/Data/Objects/A[@ExternalId='C']"Code:<Data> <Objects> <A ExternalId="A"/> <B ExternalId="B"/> <A ExternalId="C"/> <B ExternalId="D"/> </Objects> </Data>
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: What XPATH expression to useThreaded View
|
Click Here to Expand Forum to Full Width |