Added an XML Output to the JiGV DataTable

GoogleVisualization.jpg

Today I had the time and decided that it was about time for the DataTable to have a toXML() method so that if I have a servlet that's responding to something other than a JavaScript-driven web page, they can take this XML and parse it for whatever they want. Since I already had the HTML output method, this wasn't all that hard, I just needed to decide what the structure needed to be, and then replace the HTML tags with the appropriate XML tags.

Not bad at all.

OK... it's not rocket science, but it's something that needed to be done as I'm getting into a little larger audience for these servlets in the web app, and it needed the 30 mins I put into it to get the code and the unit test working.

So there.