<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Typically we use _ for variables and - for params in config.  - is still valid in json, you just need to reference it differently.  Why would you do anything to modify them?<br>
<br>On Sep 11, 2012, at 12:30 PM, Seven Du &lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>
                <div>
                    Hi,
                </div><div><br></div><div>in conference xml_list some tags has &quot;_&quot; but some use &quot;-&quot;</div><div><br></div><div>&quot;_&quot; works well but &quot;-&quot; causing problems e.g. when convert to json it&#39;s ok to use conference.last_talking but to get the input-volume value it has to be conference[&quot;input-volume&quot;], and in some other cased there&#39;s no such work around and I have to go through all tags and replace &quot;-&quot;s to &quot;_&quot;s.</div>
<div><br></div><div>I understand &quot;-&quot; in xml is totally valid but would it be better to keep it consistent ? </div><div><br></div><div><pre style="font-family:Monaco,monospace;border-width:1px 0px 1px 1px;border-style:dotted;border-color:rgb(204,204,204);padding:0.4em 0.4em 0.4em 0.8em;font-size:17px;text-align:justify;background-color:rgb(250,250,253)">
<code>        &lt;last_talking&gt;0&lt;/last_talking&gt;
        &lt;energy&gt;300&lt;/energy&gt;
        &lt;volume_in&gt;0&lt;/volume_in&gt;
        &lt;volume_out&gt;0&lt;/volume_out&gt;
        &lt;output-volume&gt;0&lt;/output-volume&gt;
        &lt;input-volume&gt;0&lt;/input-volume&gt;
        &lt;auto-adjusted-input-volume&gt;0&lt;/auto-adjusted-input-volume&gt;</code></pre><pre style="font-family:Monaco,monospace;border-width:1px 0px 1px 1px;border-style:dotted;border-color:rgb(204,204,204);padding:0.4em 0.4em 0.4em 0.8em;font-size:17px;text-align:justify;background-color:rgb(250,250,253)">
<code><br></code></pre></div>
                <div><div><br></div><div>Thanks.</div><div><br></div><div>-- </div><div>Seven Du</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
            </div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
<span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br>
<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br>
<span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>