XmlTextReader
-> XmlTextReader.NodeType == XmlNodeType.EndElement
The above written does not return true case of Self enclosing Element Like:
<Default Name= "One"/>
Can any body tell the alternate solution for it. I am able to achieve the desired result by using the XmlTextReader.IsEmptyElement
property.
Is there any other way to achieve the desired result?