tags:

views:

28

answers:

1
+1  Q: 

DOM versus Castor

Can anyone tell me which one better to use for xml parsing - DOM or Castor (with criterion being lesser memory usage)?

A: 

Both will create an object graph in memory containing all the unmarshalled objects. I wouldn't expect a big advantage from one over the other in terms of memory use.

Nathan Hughes