DOM versus Castor

226 Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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.