How to find out if an XML document contains a certain element (by tag name)?

Posted by dfjhdfjhdf on Stack Overflow See other posts from Stack Overflow or by dfjhdfjhdf
Published on 2010-06-01T19:06:42Z Indexed on 2010/06/01 19:13 UTC
Read the original article Hit count: 122

Filed under:
|

Suppose I have downloaded a valid XML document via Ajax (var docum = request.responseXML;). Now how do I find out if it contains a certain element (by tag name)?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about Xml