Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.0d23 Last Call

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <cowan AT ccil.org>
  • To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM 1.0d23 Last Call
  • Date: Mon, 2 Feb 2004 19:35:19 -0500

Bradley S. Huffman scripsit:
> Is this just a variation of replaceChild(Node old, Node new) in ParentNode?

No, because Nodes is not a child of ParentNode. It's true that replaceChild
and putChild in Element are related, but one takes an index and the other
a node. I would have no problem with using Element.replaceChild(Node old,
int index) instead of Element.putChild, and ditto with Element.putAttribute.

--
John Cowan <jcowan AT reutershealth.com> http://www.reutershealth.com
I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_




Archive powered by MHonArc 2.6.24.

Top of Page