[wp-hackers] wpAjaxResponse and XML elements

Frank Bueltge frank at bueltge.de
Tue Aug 30 17:33:01 UTC 2011


maybe you have problems with xml, a possible idea is to convert the xml to json
best wishes
Frank

On Tue, Aug 30, 2011 at 4:53 AM, 24/7 <24-7 at gmx.net> wrote:
> Is there some way using the built in wp-ajax-response script/wpAjaxResponse
> to send XML Elements that share the same name? Or is there any other
> recommended way than going with JSON? In some cases this isn't possible
> (external APIs providing only XML as response for example).
>
> To better illustrate my problem with the callback function and the desired
> output: http://pastie.org/2452302
>
> Thanks,
> K.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>


More information about the wp-hackers mailing list