Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getElementsByTagName ns SelectSingleNode

Status
Not open for further replies.

fixthebug2003

Programmer
Oct 20, 2003
294
0
0
US
Hi,
what is the difference between getElementsByTagName and SelectSingleNode methods in DOM (MS XML parser)..I tried using both and both seemed to accomplish my tasks..

Fixthebug2003
 
getElementsByName returns a Collection of matching nodes.

selectSingleNode returns the first matching node.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top