Check out switch_xml.c. I think a good example of this might be &quot;fifo list_verbose&quot;. In mod_fifo.c approx line # 3644 it creates a new object of type switch_xml_t using switch_xml_new(). I think you&#39;ll find some handy things like adding xml child nodes, etc. Look in mod_fifo.c at the function list_node() for an example of how you can use the included tools to build up an XML structure. Then you can convert to text with switch_xml_toxml() function. Search for this line in mod_fifo.c:<br>

<br>xml_text = switch_xml_toxml(x_report, SWITCH_FALSE);<br><br>The context around that line is a good example of using these objects, printing them out and then safely freeing them from memory.<br><br>-MC<br><br><div class="gmail_quote">

On Thu, Oct 14, 2010 at 2:33 PM, Eduardo Nunes Pereira <span dir="ltr">&lt;<a href="mailto:eduardonunesp@gmail.com" target="_blank">eduardonunesp@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">Hi, friends<br><br>there functions to do my xml output to console: example &quot;tasks show the xml&quot; and shows in xml, or have to build my output xml all manually ?<br>


<br>Thanks</span>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>