With this online converter, you can convert any valid XML string into a corresponding JSON string.
A simple javascript module for converting XML into JSON within the browser download here

PHP and Javascript Code Snippets for Common Uses
With this online converter, you can convert any valid XML string into a corresponding JSON string.
A simple javascript module for converting XML into JSON within the browser download here