C
CSharper
This may be a dump question, so please bear with me. I have an xml
file like the following
<teacher>
<name>jkjk</name>
<phone>122</phone>
</teacher>
<student>
....
</student>
<student>
....
</student>
etc.,
In this I have one node with teacher and all the other nodes are
students. I want to use linq to get only the teacher node. Is it
possible to do it?
Thanks.
file like the following
<teacher>
<name>jkjk</name>
<phone>122</phone>
</teacher>
<student>
....
</student>
<student>
....
</student>
etc.,
In this I have one node with teacher and all the other nodes are
students. I want to use linq to get only the teacher node. Is it
possible to do it?
Thanks.