Is there any library or tool for writing XML documents using javascript? I am trying to take some parsed data from an html page and the information needs to be transformed into xml. I was thinking maybe there is a simple method for adding data to an xml node in javascript. I have some jquery that parses the html and gets the information into an array, then I had thought to run through the array and just have placeholders for data. This is closer to C# which I am much more familiar with.
var root = $('<ROOT></ROOT>');
root.append("</description>");