Wrox Programmer Forums
|
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x 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 January 12th, 2007, 03:25 AM
Registered User
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading XML fiile Optimization

Hi All,

I am reading XML file using xmlDocument Model. but its taking too much time in reading. any way to optimize reading xml file using xmlDocument Model.

 
Old January 16th, 2007, 05:44 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The XmlDocument reads the file however it was designed to. You could try an alternate class, such as the XPathDocument which provides forward-only access that's faster that the XmlDocument, but you make a trade off.

-Peter
 
Old January 18th, 2007, 06:12 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


<center>
<form method="get" action="http://www.google.com/custom" target="google_window">
<table bgcolor="Darkorange">
<tbody><tr valign="top"><td align="left" nowrap="nowrap" valign="top">
<label style="font-weight: bold; color: rgb(0, 0, 0);" for="sbi">Enter your search terms</label>
<input name="q" size="50" maxlength="255" value="" id="sbi" type="text"><input name="sa" value="Google Search" id="sbb" type="submit">
<label for="sbb" style="display: none;">Submit search form</label>
<input name="host" value="pub-1556223355139109" style="width: 10px;" type="hidden">
<input name="client" value="pub-2845675456179395" style="width: 10px;" type="hidden"><input name="forid" value="1" style="width: 10px;" type="hidden"><input name="channel" value="7681418587" style="width: 10px;" type="hidden"><input name="ie" value="ISO-8859-1" style="width: 10px;" type="hidden"><input name="oe" value="ISO-8859-1" style="width: 10px;" type="hidden"><input name="safe" value="active" style="width: 10px;" type="hidden"><input name="flav" value="0000" style="width: 10px;" type="hidden"><input name="sig" value="t5ieIwTLGt0ylSms" style="width: 10px;" type="hidden"><input name="cof" value="GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC:D03500;AH :center;BGC:99CCFF;LBGC:CCE5F9;ALC:F2984C;LC:F2984 C;T:FFCC66;GFNT:999999;GIMP:999999;FORID:1" style="width: 10px;" type="hidden"><input name="hl" value="en" style="width: 10px;" type="hidden">
</td></tr></tbody></table>
</form>
</center>


ExpPersons





Similar Threads
Thread Thread Starter Forum Replies Last Post
reading XML with relationships regulardude C# 2005 2 February 15th, 2008 04:57 AM
problem reading a value from an xml mrjoka XML 14 June 8th, 2007 10:48 AM
reading a XML file connect2sandep General .NET 0 December 13th, 2006 02:10 PM
Reading XML evidica C# 0 July 25th, 2006 10:33 AM
Reading XML from ASP texasraven Classic ASP XML 2 February 26th, 2004 03:26 PM





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