I'm working with the XmlTextReader and use a switch to determine which operations I want to do depening on the XmlNodeType.
switch(xmlTextReader.NodeType)
{
case XmlNodeType.Element
{
...
break;
}
...
}
and so on...
Now I have a small problem. As far as I know,
XmlNodeType.Element
matches any node with the following syntax
<xxx>
and
XmlNodeType.EndElement
matches
</xxx>
But what XmlNodeType matches
<xxx/>
?