Cloning a XmlTextReader
Does anyone know how to clone a XmlTextReader? There is no Clone() method available for the XmlTextReader class. I basically want to create a new XmlTextReader that points to the same location in memory as my current one. However, reading through the new XmlTextReader will not affect the position of the current one.
Please note that I do not have the path to the xml data file or a reference to the stream so I cannot simply create a new one using the constructors.
Thanks!
Bobby
|