Log

View Options

XML to JavaScript Structure Return

7/12/09

I can't help it, I love xml. For those of use who started out as artists and designers, denied the privilege of touching the database, xml was our bypass. Anyways, this is nothing to special, but it is something very useful. This little function returns the proper xml format of you clients browser to your javascript.

example:
var xmlDoc = makeXML(); xmlDoc.load("some_doc.xml");

Snipt.net is dead. Replace link to "http://snipt.net/embed/737d96d3b7cd393cf4ba9a742b3b3fb8"