E4X is an extension of JavaScript that adds direct support for XML to the language.
Scripting-Language xml JavaScript standard Specification e4x