I use the XmlReader class to read in large XML files because, unlike XmlDocument, the class reads the file in chunks.
Is there any way in XmlReader.StartElement to also search for child nodes of the current node, similar to XmlDocument.XQL? Unfortunately in XmlReader.StartElement only the name of the node and its attributes are passed, not the XmlNode.
I need this possibility to be able to imitate the correct object in the memory on the basis of the node, because there can be for example several objects which look like this:
<row type="1"/>, however there are subnodes which still specify the type of the “Row”.