XML - JMS/JSON
Converter utility between XML text and Javascript object / JSON text
Convert XML text to Javascript object / JSON text (and vice versa). Can parse: elements, attributes, texts, comments, CData, DOCTYPE, XML declarations, and Processing Instructions. Usually, the output of XML attributes are stored in @attr, _atrr, $attr, or $ in order to avoid conflicting with the name of sub-elements. This library stores them in attributes, but most importantly, you can change this to whatever you like.