Hello All,
Using LINQ to XML I am trying to get all nodes that contain the text of Errors within them. This node can be in any level of the XML document.
Example:
How do i return all 3 errors?
Thanks
Using LINQ to XML I am trying to get all nodes that contain the text of Errors within them. This node can be in any level of the XML document.
Example:
Code:
<Users>
<User>
<FirstName>Tom</FirstName>
<LastName>Won</LastName>
<Error>Test 2</Error>
</User>
<User>
<FirstName>Jim</FirstName>
<LastName>Kim</LastName>
<Error>Test 2</Error>
</User>
<Error>Test 3</Error>
</Users>
Thanks
Comment