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: jason mazzotta <jazzdman AT comcast.net>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] does XOM offer any performance advantages for me?
- Date: Tue, 29 Mar 2005 18:34:08 -0500
Thanks for the suggestion, but I'm not quite sure I understand. If you were going to examine things an element at a time, I'm not sure how you'd compare the shape of the document in its current form to the one in memory.
Jason Mazzotta
On Mar 29, 2005, at 11:18 AM, Elliotte Rusty Harold wrote:
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 mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest
-
[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.