I am trying to give the option to get either a JSON or XML response.
JSON works fine but when I view the XML, I get an error.
http://lmsapi.com/?api_key=fba9
Make sure you also triple check for a duplicate urlset declaration at the top of your document. This was my problem. It was a very careless oversight.