/* ref: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Processing_XML_with_E4X ref: http://bit.ly/y8udj prereq: firefox w/ firebug installed 1) put this in an html file and run it in firefox: 2) look for the output in the firebug console */ var h = 'html'; var text = "Here's some text"; var doc = {text}; console.log(doc);