JQuery | isXMLDoc() Method Last Updated : 30 Apr, 2020 Comments Improve Suggest changes Like Article Like Report This isXMLDoc() Method in jQuery is used to check to see if a DOM node is within an XML document. Syntax: jQuery.isXMLDoc( node ) Parameters: This method accept a single parameter which is mentioned above and described below: node: This parameter holds the DOM node that will be checked to see if it's in an XML document. Return Value: It returns the boolean value. Below examples illustrate the use of isXMLDoc() method in jQuery: Example 1: html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isXMLDoc() method</title> <script src= "https://code.jquery.com/jquery-3.4.1.js"> </script> </head> <body style="text-align:center;"> <h1 style="color: green"> GeeksforGeeks </h1> <h3>JQuery | isXMLDoc() method</h3> <b>Value Return by isXMLDoc : </b> <br> <b id="geek"> </b> <script> var str = "A computer science portal for geeks", html = jQuery.parseHTML(str); document.getElementById("geek").innerHTML = jQuery.isXMLDoc(html); </script> </body> </html> Output: Example 2: html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isXMLDoc() method</title> <script src= "https://code.jquery.com/jquery-3.4.1.js"> </script> </head> <body style="text-align:center;"> <h1 style="color: green"> GeeksforGeeks </h1> <h3>JQuery | isXMLDoc() method</h3> <br> <b>Value Return By isXMLDoc :</b> <br> <b id="geek"> </b> <script> var xml = "<rss version='2.0'>"+ "<channel>"+ "<body>String : parseXML</body>"+ "</channel>"+ "</rss>", xmlDoc = $.parseXML(xml); document.getElementById("geek").innerHTML = jQuery.isXMLDoc(xmlDoc); </script> </body> </html> Output: Comment More infoAdvertise with us Next Article JQuery | isXMLDoc() Method S SHUBHAMSINGH10 Follow Improve Article Tags : Web Technologies JQuery jQuery-Methods Similar Reads JQuery | isPlainObject() Method This isPlainObject() Method in jQuery is used to check to see if an object is a plain object. Syntax: jQuery.isPlainObject( obj ) Parameters: This method accept a single parameter that is mentioned above and described below: obj: This parameter holds the object that will be checked to see if it's a 2 min read JQuery | isArray() method This isArray() Method in jQuery is used to determines whether the argument is an array. Syntax: jQuery.isArray( object ) Parameters: The isArray() method accepts only one parameter that is mentioned above and described below: object : This parameter is the object to test whether or not it is an arra 2 min read JQuery | parseXML() Method This parseXML() Method in jQuery is used to parse a string into an XML document. Syntax: jQuery.parseXML( data ) Parameters: This method accept single parameter which is mentioned above and described below: data: This parameter holds the well-formed XML string to be parsedd. Return Value: It returns 2 min read HTML DOM createDocumentType() Method The DOMImplementation createDocumentType() method returns a Doctype object which can either be used with DOMImplementation createDocument() method for document creation or can be put into the document. Syntax: var doctype = document.implementation.createDocumentType(qualifiedNameStr, publicId, syste 1 min read HTML DOM createDocument() Method The DOMImplementation createDocument() method is used to create and return a Document. Syntax: var doc = document.implementation.createDocument(namespaceURI, qualifiedNameStr, docType); parameters: namespaceURI: It is a DOMString containing the namespace URI of the document to be created, or null if 1 min read Like