xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Benson Margulies" <bim2007 AT basistech.com>
- To: "Eric Wang" <jemroc AT gmail.com>, "Tatu Saloranta" <cowtowncoder AT yahoo.com>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Writing large XML documents
- Date: Mon, 17 Dec 2007 22:48:56 -0500
XOM is all about trees. If you don't want trees, don't use XOM at all. Google
StaX.
-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org
[mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of Eric Wang
Sent: Monday, December 17, 2007 10:46 PM
To: Tatu Saloranta
Cc: xom-interest
Subject: Re: [XOM-interest] Writing large XML documents
No, it isn't necessary for me to build a tree model. Forgive my ignorance,
but I can't find any mention of the SAX or Stax writers in the XOM
documentation. Does this require an additional library?
On Dec 17, 2007 10:36 PM, Tatu Saloranta <cowtowncoder AT yahoo.com> wrote:
> --- Eric Wang <jemroc AT gmail.com> wrote:
>
> > Hi, I am attempting to write an XML file larger than available
> > memory.
> > Looking over the tutorial, the section describing the toXML() method
> > states "However, since this builds the entire document in memory, it
> > can be problematic for large documents and less efficient than using
> > a Serializer, which can stream the document."
>
> Is it necessary for you to build an intermediate tree model? If not,
> you could just use SAX or Stax writers directly to produce xml content
> of unlimited length, with minimal buffering.
>
> -+ Tatu +-
>
>
>
>
> ______________________________________________________________________
> ______________ Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest
-
[XOM-interest] Writing large XML documents,
Eric Wang, 12/17/2007
-
Message not available
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Benson Margulies, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/17/2007
- Re: [XOM-interest] Writing large XML documents, Benson Margulies, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Tatu Saloranta, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/18/2007
- Re: [XOM-interest] Writing large XML documents, Peter Corbett, 12/18/2007
- Re: [XOM-interest] Writing large XML documents, Elliotte Rusty Harold, 12/19/2007
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/18/2007
-
Re: [XOM-interest] Writing large XML documents,
Elliotte Rusty Harold, 12/19/2007
- Re: [XOM-interest] Writing large XML documents, Eric Wang, 12/19/2007
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Benson Margulies, 12/17/2007
-
Re: [XOM-interest] Writing large XML documents,
Eric Wang, 12/17/2007
-
Message not available
Archive powered by MHonArc 2.6.24.