XML to JSON using PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Just wondering what the best way to go from XML to JSON is?

I have tried to find a good XSLT that can do this, but so far no luck.
Maybe there is a better way of doing this?

Appreciate any advice,


Re: XML to JSON using PHP

Quoted text here. Click to load it

I haven't actually done anything like this yet, but would go in the  
direction of using simplexml to read in the XML and then dump it out as  
an array into one of the PHP JSON "libraries" out there.

Site Timeline