jQuery Post not getting a xml response
<p>Here is my jQuery post request, how can i get back xml response, I checked in fiddler the response is coming as my expected xml</p>

<p>Here is my jquery post</p>

<pre><code>$.post("/csm/viewall.action",
  { sessiontoken:   sessiontoken },
      function(xml)
      {
            alert(xml);
      }
);
</code></pre>

<p>alert returns <code>[object XMLDocument]</code></p>

<p>My xml</p>

<pre><code>&lt;list&gt;
&lt;com.abc.db.ConfigInfo&gt;
&lt;cfgId&gt;83&lt;/cfgId&gt;
&lt;cfgName&gt;test&lt;/cfgName&gt;
&lt;cfgDesc&gt;test&lt;/cfgDesc&gt;
&lt;cfgType&gt;test&lt;/cfgType&gt;
&lt;fileName&gt;csmclientbenz.xml&lt;/fileName&gt;
&lt;absolutePath&gt;../webapps/csm/files//1-105101/csmclientbenz.xml&lt;/absolutePath&gt;
&lt;/com.abc.db.ConfigInfo&gt;
&lt;com.abc.db.ConfigInfo&gt;
&lt;cfgId&gt;82&lt;/cfgId&gt;
&lt;cfgName&gt;test1&lt;/cfgName&gt;
&lt;cfgDesc&gt;test2&lt;/cfgDesc&gt;
&lt;cfgType&gt;test1&lt;/cfgType&gt;
&lt;fileName&gt;csmclientbenz.xml&lt;/fileName&gt;
&lt;absolutePath&gt;../webapps/csm/files//1-105101/csmclientbenz.xml&lt;/absolutePath&gt;
&lt;/com.abc.db.ConfigInfo&gt;
&lt;list&gt;
</code></pre>
