I have a XmlDocument
which is not properly formed
<library>
<dept>
<books></books>
<language></language>
</dept>
<dept>
<lecturer></lecturer>
</dept>
</library>
I want to do a XmlDocument.SelectSingleNode
for 'lecturer' tag.
When I select ChildNodes of <library>
tag, I get only <books>
and <language>
but not <lecturer>
.
How do I get XmlNode object of tag?