Js2xml is a very simple library that converts a simple data structure into XML.
Js2xml is a very simple library that converts a simple data structure into XML. Doesn't support namespaces or attributes, just very simple output. This allows you to write JSON and XML from the same structure without a middle-man.
It's written in Coffeescript but the JS is included.