Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 28th, 2006, 06:42 PM
Authorized User
Join Date: Jun 2004
Location: , , .
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.



Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:09 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.