W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: getElementsByTagName

From: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>
Date: Tue, 5 Sep 2000 09:28:34 -0400
To: "K. Ari Krupnikov" <ari@iln.net>
Cc: www-dom@w3.org
Message-ID: <OFF81A079D.7A96A1AB-ON85256951.0049E132@pok.ibm.com>

>Is there any difference between Document.getElementsByTagName() and
>Element.getElementsByTagName()?
>I'm working on a non-object-oriented implementation. Sould a single
>function stand for both?

A single function should work for both; I believe there's no behavioral
difference.

______________________________________
Joe Kesselman  / IBM Research
Received on Tuesday, 5 September 2000 09:28:38 GMT

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