Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] The mysterious LeafNode class

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: laurent.bihanic AT atosorigin.com (Laurent Bihanic)
  • Cc: elharo AT metalab.unc.edu (Elliotte Rusty Harold), jcowan AT reutershealth.com (John Cowan), xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] The mysterious LeafNode class
  • Date: Fri, 20 Sep 2002 06:50:19 -0400 (EDT)

Laurent Bihanic scripsit:

> What bothers me with TreeNode is that, in addition to navigation methods,
> it
> is full of append/insert/remove methods. Wouldn't be better to reverse the
> model so that Node includes the navigation methods (including child
> navigation) and TreeNode defines the append/insert/remove methods. With
> this
> model, Comments, PIs, Attributes and Text would be Nodes and only Element
> and
> Document be TreeNodes (BranchNode would be more appropriate then).

This is just what I was saying (but I still prefer Container to TreeNode
or BranchNode).

--
John Cowan jcowan AT reutershealth.com www.reutershealth.com
www.ccil.org/~cowan
Consider the matter of Analytic Philosophy. Dennett and Bennett are
well-known.
Dennett rarely or never cites Bennett, so Bennett rarely or never cites
Dennett.
There is also one Dummett. By their works shall ye know them. However, just
as
no trinities have fourth persons (Zeppo Marx notwithstanding), Bummett is
hardly
known by his works. Indeed, Bummett does not exist. It is part of the
function
of this and other e-mail messages, therefore, to do what they can to create
him.




Archive powered by MHonArc 2.6.24.

Top of Page