W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1998

Re: Question about getNextSibling/getPre

From: Gavin Nicol <gtn@eps.inso.com>
Date: Tue, 10 Mar 1998 15:45:55 GMT
Message-Id: <199803101545.PAA02247@nathaniel.eps.inso.com>
To: david.peterson@iname.com
CC: akirkpatrick@ims-global.com, www-dom@w3.org, mcc@arbortext.com
>This is something I raised a while back, and currently, the answer is no -
>that is, the current dom interfaces don't have enough methods for this to be
>possible.  Eg there is no setParent() method for a Node, so you can't
>genericly set the parent - you have to cast to an internal, proprietry class
>to do that.

I think the intent is for the DOM to be fairly orthagonal in this
regard (basically, every getXXXX() has an equivalent setXXXX()). So
comments like this are very valuable.
Received on Tuesday, 10 March 1998 10:46:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:44 GMT