Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <script src="loadxmldoc.js"> </script> </head> <body> <script> xmlDoc=loadXMLDoc("note_internal_dtd.xml"); x=xmlDoc.doctype.entities; for (i=0;i<x.length;i++) { document.write("Nodename: " + x.item(i).nodeName); document.write("<br>"); document.write("Nodetype: " + x.item(i).nodeType); document.write("<br>"); } </script> </body> <!-- Mirrored from www.w3schools.com/dom/tryit.asp?filename=try_dom_documenttype_entities by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:22:43 GMT --> </html>
Result:
Try it Yourself - © w3schools.com