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


From: Peter Pierrou <Peter.Pierrou@excosoft.se>
Date: Fri, 7 Aug 98 18:35:12 +0100
To: www-dom@w3.org
Message-Id: <Chameleon.902508434.pierrou@smeagol>
I am developing a DOM api in C++ for our product the SGML/XML editor Documentor and I am
a bit confused about the Element::getElementsByTagName method.

In the specification:

      The name of the tag to match on. If the string "*" is given, this method will
      return all elements in the document"

Does it really mean that "*" returns all elements in the Document, even the elements in the
parent chain of the element instance, or does it mean all elements descending the
element instance?

Also: I presume that the method is recursive, please tell me if i am wrong.

Peter Pierrou
Excosoft AB
Electrum 420
S-164 40 Kista
Tel: +46 8 703 91 90
Fax: +46 8 703 94 90
Received on Friday, 7 August 1998 13:08:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:26 UTC