GeekInterview.com
Series: Subject: Topic:
Question: 45 of 46

What parser would you use for searching a huge XML file?

Asked by: Interview Candidate | Asked on: Jul 12th, 2005
Showing Answers 1 - 4 of 4 Answers
Subbaraja

Answered On : Jul 12th, 2005

DOM parser which is microsoft default parser.very robust to traverse huge xml file but at server side .dom is nothing but a well formed xml document according to the w3c consortium rules

  
Login to rate this answer.
godong

Answered On : Aug 30th, 2006

SAX, event based XML parser is probably what is needed to search huge file. DOM store the whole content on memory which is in huge file is not good since it uses a lot of memory. SAX is event based that handle XML elements when it find it.

  
Login to rate this answer.
jagan

Answered On : Oct 3rd, 2006

Hey, it's correct. SAX is good for finding huge xml. Performance of SAX is good.

  
Login to rate this answer.
dilipiyer

Answered On : Jan 23rd, 2007

View all answers by dilipiyer

Yes, SAX parser is better for huge XML files.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.