Hi David,

You might take a look at StAX... I was reading somewhere that it streams in both directions. Makes a lot of sense too, as the thing people have always dinged DOM implementations for is memory consumption. Although... wouldn't one need to have the data in RAM in some form or another? I suppose this would avoid having to keep all your data in your domain objects *and* a DOM tree.

Ben

PS: I've been on this list for almost a year and haven't ever seen as much activity as I have the last couple weeks... it's great, keep it up!



David Thielen wrote:
Correct. Or use something to serially write xml instead of building up a DOM
in memory and then writing the entire DOM at once.

Thanks - dave


-----Original Message-----
From: Edwin Dankert [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 3:07 AM
To: David Thielen
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] Asking again: Write xml using SAX & dom4j


I'm sorry but I don't think I understand the question, what do you
mean by 'serially' and why would you like to use SAX to write xml?

Regards,
Edwin

On Wed, 22 Dec 2004 19:42:22 -0700, David Thielen <[EMAIL PROTECTED]>
wrote:




Hi;




Is there a way to write out an xml file serially?



Thanks - dave






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to