[sourcecode language=‘html’]
/* 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
- put this code in an html file
- run it in firefox
- look for output in console */ var xml =
; console.log(xml.children.child[0].@name);
[/sourcecode]