xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] does XOM offer any performance advantages for me?
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <whoschek AT lbl.gov>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] does XOM offer any performance advantages for me?
- Date: Tue, 29 Mar 2005 11:18:20 -0500
Wolfgang Hoschek wrote:
I'm not sure I fully understand the use case, but the update part of it seems to be trickier because XOM has no streaming output equivalent to the NodeFactory that would allow to individually write one subtree at a time (rather than write entire documents). You could write a workaround with a bit of string printing or use some SAX like library...
You could also use a subclass of Serializer to expose the write(Element) method as public, and then write one element at a time. You'd still need to use string printing to output the root element start-tag and end-tag. Bit of a hack, but should work for some use cases.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Wolfgang Hoschek, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Wolfgang Hoschek, 03/25/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, jason mazzotta, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/29/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, jason mazzotta, 03/30/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Elliotte Rusty Harold, 03/30/2005
- Re: [XOM-interest] does XOM offer any performance advantages for me?, Wolfgang Hoschek, 03/30/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Wolfgang Hoschek, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
jason mazzotta, 03/25/2005
-
Re: [XOM-interest] does XOM offer any performance advantages for me?,
Elliotte Rusty Harold, 03/25/2005
Archive powered by MHonArc 2.6.24.