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: elharo AT metalab.unc.edu (Elliotte Rusty Harold)
  • Cc: jcowan AT reutershealth.com (John Cowan), xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] The mysterious LeafNode class
  • Date: Thu, 19 Sep 2002 15:08:24 -0400 (EDT)

Elliotte Rusty Harold scripsit:

> One advantage to not distinguishing (everything is a Node): when we
> do implement XPath then we can do more useful things with the
> contents of the NodeList the location path returns without casting,
> because the Node class has more methods.

Yes, I think this justifies keeping Attribute as a kind of Node.
Class Nodes, even if it doesn't exist just yet, will be a good thing
to keep maximally useful. (I hate casts.)

--
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