Loading inline data through xml instead of JSON

Can anybody help me to load inline data through XML?

I want to display hard coded data using XML. The XMl will be present in the page itself.

In the dhtml scheduler.

You can use

scheduler.parse("xml string here")

or

scheduler.parse( js_var_which_holds_xml )