Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance of xml 1

Status
Not open for further replies.

jshurst

Programmer
Joined
Oct 27, 2004
Messages
1,158
Location
US
I need to read the contents of an xml doc and return values from certain nodes. I know that I can do this with the dataset and by using xmldocument.load().

My question is about performance, which should I use? I don't need data from the whole document, just certain nodes.

Thanks.
 
If you use an XMLDocument, you can specify an XPath query to only select certain records - that should be faster (and certainly more resourceful) that loading the whole document into a DataSet.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top