Can my spark data be output to an XML file?

Hello,

Can my spark data be output to an XML file (and updated every minute) like the link below? I prefer to work with PHP and SimpleXML for a web project that I have in mind.

Thanks!

http://www.capitalbikeshare.com/data/stations/bikeStations.xml

Hi @command_z,

Although most of the API responses come in JSON, you can easily transform those into XML if you want. Here’s a PHP example for converting between the two (maybe not exactly what you meant, but it could help).

I hope that helps!
Thanks,
David

If you need temporary solution, you can use this tool JSON to XML. you can also create your too. or use javascript library to do that.