IT Community - Software Programming, Web Development and Technical Support

Searching a huge XML file?

This is a discussion on Searching a huge XML file? within the XML and SOAP forums, part of the Web Development category; Hi Guys please let me know What parser would you use for searching a huge XML file?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > XML and SOAP

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 05-30-2007, 05:27 AM
vigneshgets vigneshgets is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 904
vigneshgets is on a distinguished road
Question Searching a huge XML file?

Hi Guys please let me know What parser would you use for searching a huge XML file?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 09-04-2007, 05:01 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 303
Sathish Kumar is on a distinguished road
Thumbs up Re: Searching a huge XML file?

Hi,
I couldnt get what you are particularly concerned about in the parsing the large XML files.I would like to suggest a better way to increase the performance when parsing the large XML files.

For example,
Instead of using the code like this
xmlDoc.selectNodes("//node_name") ,
you can use
xmlDoc.selectNodes("rootNode/childNode/node_name") which will give a great performance.What was taking over an hour before now takes about 2 minutes!

Cheers
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-04-2007, 05:02 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 303
Sathish Kumar is on a distinguished road
Thumbs up Re: Searching a huge XML file?

Hi,
Also I will suggest the USER SAX parsing technology to parse huge XML files.

Cheers,
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-04-2007, 05:04 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 303
Sathish Kumar is on a distinguished road
Thumbs up Re: Searching a huge XML file?

Hi,
Please have a look at the below URL
Processing Large XML Files .Here you will be able to find the zip code for paesing large XML file.I think this can help you.

Cheers
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching, Loading XML file help yoki XML and SOAP 1 01-05-2009 07:55 PM
Searching for multiple values in an array tylerpomroy PHP Programming 0 12-29-2008 09:29 AM
File extension of the code file & object repository file in QTP vigneshgets Testing Tools 1 01-16-2008 10:43 PM
Searching for a ASP.NET hosting. Ponte_64 ASP and ASP.NET Programming 0 05-19-2007 07:01 AM


All times are GMT -7. The time now is 12:51 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0