xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
- From: John Cowan <jcowan AT reutershealth.com>
- To: elharo AT metalab.unc.edu (Elliotte Rusty Harold)
- Cc: xom-interest AT lists.ibiblio.org (Xom Interest)
- Subject: Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
- Date: Wed, 25 Sep 2002 13:09:44 -0400 (EDT)
Elliotte Rusty Harold scripsit:
> > Element auxroot = aux.getRootElement();
> > aux.setRootElement(new Element("bogus"));
> > holder.appendChild(auxroot);
>
> Yes, that should work. The main question is how to make the API
> pretty, even if that's what we're doing behind the scenes.
I suggest
Element detachRootElement()
which returns the old root and creates a new root named "XOM:bogus" or the
like.
--
John Cowan
jcowan AT reutershealth.com
I am a member of a civilization. --David Brin
-
[XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
- [XOM-interest] Re: Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial), postmaster, 09/25/2002
-
[XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Bradley S. Huffman, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
- Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM, John Cowan, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Bradley S. Huffman, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
Archive powered by MHonArc 2.6.24.