Posted on: 3/23/2015 2:30:59 PM | Views : 581

<Level> <note> ... </note> <guidance> .... </guidance> <table-rule> ..... </table-rule> <code> ... </code> </Level
In my C# code, if I write, node.NodesToRender.First(); I will get the the node of <note>.... </note>
But I want to extract the first node matching any of the tags with (guidance or table-rule or code). From the above xml, I should only get the output as <guidance>.... </guidance>
Suppose if the xml is as below <Level> <note> ... </note> <table-rule> ..... </table-rule> <code> ... </code> <guidance> .... </guidance> </Level
The output in this case should be <table-rule>.....</table-rule>

Go to the complete details ...