xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Laurent Bihanic <laurent.bihanic AT atosorigin.com>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: XOM-interest <XOM-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Document portions
- Date: Fri, 20 Sep 2002 11:42:50 +0200
Elliotte Rusty Harold wrote:
At 10:33 AM +0200 9/19/02, Laurent Bihanic wrote:
- Document portions: JDOM uses Lists to "model" document portions. Wouldn't XOM need a DocumentFragment node class, for example as a receptacle for XSLT result trees?
A good point. I'll need to think about this further. I do suspect that when I get serious about XPath and XSLT I'll need a generic NodeList, probably comatose and possibly read-only. That may serve this use-case as well, but we'll need to explore it more deeply.
Namespaces, Elements and Attributes classes are actually specific types of DocumentFragment. With such a container class, the getFirst/NextSibling navigation model could also be applied to Attribute and Namespace.
Note that the XPath model will force you to add a Namespace node.
Laurent
-
[XOM-interest] Firts impressions,
Laurent Bihanic, 09/19/2002
- Re: [XOM-interest] Firts impressions, Elliotte Rusty Harold, 09/19/2002
- [XOM-interest] ClassLoader issues, Elliotte Rusty Harold, 09/19/2002
- [XOM-interest] Code compactness vs instanceof, Elliotte Rusty Harold, 09/19/2002
-
[XOM-interest] CDATA handling,
Elliotte Rusty Harold, 09/19/2002
-
Re: [XOM-interest] CDATA handling,
John Cowan, 09/19/2002
- Re: [XOM-interest] CDATA handling, Elliotte Rusty Harold, 09/19/2002
-
Re: [XOM-interest] CDATA handling,
John Cowan, 09/19/2002
-
[XOM-interest] Document portions,
Elliotte Rusty Harold, 09/19/2002
- Re: [XOM-interest] Document portions, Laurent Bihanic, 09/20/2002
- [XOM-interest] Automatic detach, Elliotte Rusty Harold, 09/19/2002
-
[XOM-interest] Tree walking,
Elliotte Rusty Harold, 09/19/2002
-
Re: [XOM-interest] Tree walking,
Johannes Döbler, 09/19/2002
- Re: [XOM-interest] Tree walking, Elliotte Rusty Harold, 09/19/2002
-
Re: [XOM-interest] Tree walking,
Johannes Döbler, 09/19/2002
-
[XOM-interest] HTML Serializer,
Elliotte Rusty Harold, 09/19/2002
- Re: [XOM-interest] HTML Serializer, a student, 09/19/2002
- [XOM-interest] Element.getNamespacePrefix() vs Attribute.getPrefix(), Elliotte Rusty Harold, 09/19/2002
-
[XOM-interest] Element.add(),
Elliotte Rusty Harold, 09/19/2002
- Re: [XOM-interest] Element.add(), John Cowan, 09/19/2002
- [XOM-interest] Node.howManyChildren(): getChildCount(), Elliotte Rusty Harold, 09/19/2002
Archive powered by MHonArc 2.6.24.