Posted by Mel on 07/11/06 14:42
On 2006-07-11 01:56:25 +1000, "Gooseman" <jgabbai@gmail.com> said:
> Hi,
>
> 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,
>
> Thanks!
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.
[Back to original message]
|