xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Noam Tamim <noamtm AT gmail.com>
- To: Elliotte Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] XML "size"
- Date: Thu, 12 May 2005 15:47:50 +0300
On 5/12/05, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
>
> > I can think of asking the element to render itself as a string, and
> > measure the size of that, but it sounds like this would not be very
> > efficient performance wise. Is there a way for me to create a new field
> > to the Node() class and traverse the Object model bottom-up to assign
> > the right value to the field?
>
> Short of forking the code, you can't do that.
Why not? It will be a lot of work, but can't you create something like the
Serializer class, that instead of outputing the XML just counts the number
of characters?
Luca: why would you want that in the first place?
-Noam.
-
[XOM-interest] XML "size",
Luca Passani, 05/12/2005
-
Re: [XOM-interest] XML "size",
Elliotte Harold, 05/12/2005
-
Re: [XOM-interest] XML "size",
Noam Tamim, 05/12/2005
- Re: [XOM-interest] XML "size", Elliotte Harold, 05/12/2005
-
Re: [XOM-interest] XML "size",
Luca Passani, 05/12/2005
-
Re: [XOM-interest] XML "size",
Wolfgang Hoschek, 05/12/2005
-
Re: [XOM-interest] XML "size",
Luca Passani, 05/12/2005
- Re: [XOM-interest] XML "size", Wolfgang Hoschek, 05/12/2005
-
Re: [XOM-interest] XML "size",
Luca Passani, 05/12/2005
-
Re: [XOM-interest] XML "size",
Wolfgang Hoschek, 05/12/2005
-
Re: [XOM-interest] XML "size",
Noam Tamim, 05/12/2005
-
Re: [XOM-interest] XML "size",
Elliotte Harold, 05/12/2005
Archive powered by MHonArc 2.6.24.