GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  XML
Go To First  |  Previous Question  |  Next Question 
 XML  |  Question 2 of 40    Print  
What parser would you use for searching a huge XML file?

  
Total Answers and Comments: 4 Last Update: January 23, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 12, 2005 07:09:17   #1  
Subbaraja        

RE: What parser would you use for searching a huge XML file?
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
 
Is this answer useful? Yes | No
August 30, 2006 16:38:58   #2  
godong        

RE: What parser would you use for searching a huge XML...
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.
 
Is this answer useful? Yes | No
October 03, 2006 07:45:21   #3  
jagan        

RE: What parser would you use for searching a huge XML...

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


 
Is this answer useful? Yes | No
January 23, 2007 20:54:42   #4  
dilipiyer Member Since: January 2006   Contribution: 11    

RE: What parser would you use for searching a huge XML...
Yes SAX parser is better for huge XML files.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape