Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] prefixChild?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Womick, Don" <don.womick AT cingular.com>
  • To: "'xom-interest AT lists.ibiblio.org'" <xom-interest AT lists.ibiblio.org>
  • Subject: RE: [XOM-interest] prefixChild?
  • Date: Mon, 5 May 2003 08:33:10 -0400

Title: RE: [XOM-interest] prefixChild?

Letting "insert this here" serve as a guide, I'd prefer (node, index). This supports the excellent programming practice of talking to oneself (at least for us native English speakers :)

--Don Womick

-----Original Message-----
From: Elliotte Rusty Harold [mailto:elharo AT metalab.unc.edu]
Sent: Monday, May 05, 2003 7:24 AM
To: xom-interest
Subject: Re: [XOM-interest] prefixChild?


The votes on this are running two Nos and one neutral, and I was
wishy washy myself so this likely isn't going to happen. But let me
ask one final question. I note that I have trouble remembering
whether it's insertChild(0, node) or insertChild(node, 0). Is there
any reason for preferring one order to the other? Would it be any
more natural to put the index after the node rather than before? Or
is this just a pick one question where I should stick with what we've
got?
--

   Elliotte Rusty Harold
   elharo AT metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest




Archive powered by MHonArc 2.6.24.

Top of Page