Author and all-around good cowpoke
Posts: 13078
posted 13 years ago
An event oriented parser such as SAX or StaX will certainly take less memory and run faster than building and manipulating a DOM.
The feasibility really depends on the type of data manipulation you are doing - can you imagine doing it by hand - reading a tape which shows you one XML element at a time while you make notes on a small pad of paper? Thats SAX/Stax.
OR - would the "by hand" manipulation be more like reading a book, bouncing back and forth to the index, table of contents, and multiple chapters to assemble your output. Thats DOM.
Bill