Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] ParentNode.insertbefore and insertAfter

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: dirk bergstrom <dirk AT juniper.net>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] ParentNode.insertbefore and insertAfter
  • Date: Wed, 09 Apr 2003 14:01:06 -0700

Elliotte Rusty Harold expounded at length upon:
> Is anybody using the insertBefore and insertAfter methods heavily? If
> so for what applications?

i'm not using them at all.

> Does anyone feel strongly about these methods? Do I need to keep them
> as conveniences even though their functionality could be provided in
> terms of the indexOf() and insertChild(int i) methods?

i have no burning desire for them. but i'm doing really simple xml.

otoh, i'm totally wedded to appendChild() -- i use it 145 times in 1045
(non-commentary) lines of xml-related code. trying to keep track of the
index (for insertChild(int i)) would make me very unhappy...

--
Dirk Bergstrom dirk AT juniper.net
_____________________________________________
Juniper Networks Inc., Computer Geek
Tel: 707.433.0564 Fax: 707.433.0769




Archive powered by MHonArc 2.6.24.

Top of Page