[Freeswitch-users] mod_curl: how to parse xml response?

james.royer at gmail.com james.royer at gmail.com
Fri Feb 4 20:37:31 MSK 2011


Hi All,

(This is my second post - are posts delayed? I never received an
acknowledgment message.)

I want to use mod_curl to query a web service and then extract information
from the XML response.

<response>
  <value1>test</value1>
  <value2>blah</value2>
</response>

I then want to use TTS to speak the values to the caller.

How can I do this?

I tried searches for "freeswitch parse xml" and other variations but all
just talk about how FreeSWITCH parses config files.

I see that people have created libraries for Lua proper but looking at the
doc, there doesn't appear to be any functions to parse XML from within Lua.

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110204/9c102221/attachment.html 


More information about the FreeSWITCH-users mailing list