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: Fri, 25 Mar 2005 20:09:13 -0500
Hi,
Ultimately, I'm trying to transform e-mail messages from one form into XML. I can (and do in other parts of my app) express what I'm looking for with XPaths. The tree for what my XML document would look something like this :
|
mailboxes
|
... mailbox
....
|
|
messages id
|
... message
...
|
To From Date Subject Content
I was looking for a way to more quickly get to a particular message to move it, or a particular mailbox to add or remove it. However, if I understand what I've read so far, while using a StreamingPathFilter would get me where I want to go faster, I would want to then serialize not just the change but the rest of the document as well. So, I'd need to build the DOM for the entire document anyways.
On Mar 25, 2005, at 3:13 PM, Elliotte Rusty Harold wrote:
What is the condition by which you identify the element you want to keep? e.g. can you express it as an XPath? Or can you show simplified example that shows what you want to keep and what you want to throw away?
You might need to do what you suggest, by I bet there's a much easier way. However, without knowing your full use case I can't really tell.
--
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.