I would like to know how I can check the current situation:
<foo>
<bla1>xxx</bla1>
<bla2>yyy</bla2>
<bla3>zzz</bla3>
</foo>
While (reader.Read ()), I fall in XmlNodeType.Element when I am in foo and bla1, bla2, bla3 ... When .TextElement in xxx, yyy, zzz falls out, But can I check will bla have a text value inside or not?
Many thanks
Pedro Dusso
source
share