jQuery.isXMLDoc()


jQuery.isXMLDoc( node )Returns: Boolean

Description: Check to see if a DOM node is within an XML document (or is an XML document).

Example:

Check an object to see if it's in an XML document.

1
2
jQuery.isXMLDoc( document ) // false
jQuery.isXMLDoc( document.body ) // false