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


From: Kurt Cagle <cagle@olywa.net>
Date: Tue, 18 Apr 2000 04:02:01 -0400 (EDT)
Message-ID: <001101bfa90b$da2c8b70$08cc01d0@seatails.com>
To: <info@idevresource.com>
Cc: <www-dom@w3.org>
The use of a getNodes or selectNodes property dramatically enhances the power of the DOM, since it effectively provides a bridge between the DOM and XSLT view of the XML structure. It reinforces the use of XPath as a searching mechanism, and has become an integral part of most coding in the Microsoft XML community. It is vastly superior to the use of getElementsFromTagName and getElementFromID, since in the former case tag name is not altogether a criterion that many people use when selecting multiple items,  and in the latter situation since a search by id is still a search by a given attribute (of which selectNodes("*[@id='myId'']") is a solution that doesn't rely on the use of an explicit DTD or schema. 

-- Kurt Cagle
-- XML Author and Developer 
Received on Tuesday, 18 April 2000 11:26:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC