[jdom-interest] Which is fastest!!!! Your Opinion needed!!!!

Ladhani, Dilip dladhani at gltg.com
Wed Apr 10 14:36:20 PDT 2002


Hi Friends,
 
I am already using Jdom for a couple of use cases in my project. I have this new use case (functionality) where I am debating whether to use SAX DOM or JDOM. Please advice!!!!!
 
I have this datastream from a source which contains about 50 elements in xml format. It is kinda like
<root>
  <element1>abc</element1>
  <element2>xyz</element2>
  <element3>xyz</element3>
.
.
.
 
 
</root>
 
Now I want to parse through this XML and store it into a datastructure like an hashtable and then store it into a table. I need each of these elements, so I am going to basically parse through the whole String and need all the elements.
 
Which parser would be the best????
 
I guess I like Jdom more than Dom since it is java, so it is between SAX and JDOM, which would be faster??
 
Thanks for all your help.
 
 



More information about the jdom-interest mailing list