W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

DocumentTraversal

From: Jeff Winter <Jwinter@zefer.com>
Date: Sat, 7 Apr 2001 14:43:31 -0400
Message-ID: <D858C92D51ACD311AB3C009027CC87E00265BD4B@zbosexchange.boston.zefer.com>
To: www-dom@w3.org


Is there a parser-independent way to obtain a DocumentTraversal interface?
The doc here:

	http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/traversal.html

shows the following:

	NodeIterator iter = (DocumentTraversal)document).createNodeIterator(
          root, NodeFilter.SHOW_ELEMENT, null);

Does this imply that the class implementing the (DOM Level 2) Document is
guaranteed to also support DocumentTraversal?  How else would one get at it
otherwise?
Received on Saturday, 7 April 2001 14:41:53 GMT

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