|
-
Jan 16th, 2005, 03:53 AM
#1
Thread Starter
Junior Member
XmlDocument file Loading take too much time
Hi, i try to load an xml file using XmlDocument.Load() like the codes shown below:
XmlDocument document = new XmlDocument();
document.Load(this._svgPath);
where this._svgPath is the path for the xml file.
My problem is, the loading time is about 40 seconds which i consider too long. Is there any way that i can make it load faster?
I am quite new in XML. Any advice is highly welcomed. Thank you
-
Jan 17th, 2005, 09:46 PM
#2
Thread Starter
Junior Member
Re: XmlDocument file Loading take too much time
Sorry for not providing proper information. Yes, i just want to load the xml file and read its contents. Because i am using XmlNodeReader(document).Read() to read the elements inside the xml file, so i use XmlDocument.Load() to create an Xml document before passing it as parameter in XmlNodeReader.
So, which method do u think is better way to read xml file contents? XmlNodeReader() or XmlTextReader() ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|