Perfect timing on this article too. I am about to implement some AJAX code and was looking for the right solution for generating the XML output from SQL.
The article is well written except I could not find a download link for the samples and the link at the bottom of the article to a Shape testing server is http://localhost/
Thanks for the article.