Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Streaming Serializer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT ibiblio.org>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Streaming Serializer
  • Date: Tue, 13 Apr 2010 16:30:38 -0400

I never really planned for streaming serialization because I didn't
think it was very useful. However people seem to keep asking for it,
so maybe it's time to think about this.

It's not obvious to me what this would look like. Maybe

serializer.startDocument("rootElement name")
serializer.write(node)
serializer.write(node)
serializer.write(node)
serializer.write(node)
...
serializer.endDocument()

Are you able to hold the document in memory but run out of memory only
when you serialize? Or is something else going on here?

--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page