Due to memory requirements I have to use XmlReader to process xml files, so I am new to this class. Before I bake something unusual, how to perform a nested read using XmlReader?
What I mean, I am in the middle of xml file, at some node <p> -- I would like to read no further than to closing </p> to this very <p> I mentioned.
This "nested read" (i.e. read which does not go any further) is useful when using recursive call to some processing functions. Normal Read would continue up to end of the file.
ReadSubtreemethod, or are you looking for something else?Read...;-) I missed it, thank you very much, could you post your comment as an answer (so I could accept it).