Paul Clapham wrote:It is possible to do serialization by generating SAX events, but it's rather cumbersome and not nearly as straightforward as the way StAX does it.
surlac surlacovich wrote:
So do you agree that StAX is all-sufficient, and if one know well how to use it, he/she don't need to even know DOM and StAX? Sometimes it's just easier to use for example DOM, but if you know StAX you can easily swap DOM with StAX, and use StAX for the task.
William Brogden wrote:
3. I need to to serious hierarchy related data manipulation - XML is huge - time for some serious thinking about how to simplify the job with multiple passes or getting really really deep in custom StaX programming.
Thanks Bill. I'm just not sure what you mean about multiple passes, could you please tell a little bit more about it (link to an article will work too)?
surlac surlacovich wrote:Can memory-mapped file be employed to make sure every edit of XML via DOM be guaranteed saved to HDD?
William Brogden wrote:
The text length of XML elements gets changed by almost every operation.
surlac surlacovich wrote:
William Brogden wrote:
The text length of XML elements gets changed by almost every operation.
Even searching of element involves DOM modification?
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |