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