I am using an XMLTextReader to process an XML file (as opposed to an XMLDocument). I use XMLTextReader so I can use the option to ignore all whitespace.
At certain points I want to read in a node using ReadSubtree. This returns an XMLReader. How can I convert this to a XMLTextReader so I can use the ignore whitespace option.