Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 28th, 2006, 06:42 PM
Authorized User
 
Join Date: Jun 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with cloning or copying a list GS C# 2005 1 May 23rd, 2007 11:32 PM
XmlTextReader (.NET) - outputting the xml billy_bob_the_3rd XML 1 January 20th, 2005 11:46 AM
cloning a dataset badgolfer ASP.NET 1.0 and 1.1 Basics 1 November 4th, 2004 05:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.