Send a XML file as entity to http sever in Android
<p>I have tried using <code>StringEntity</code> and <code>httppost.setEntity</code>.</p>

<p>The problem is that my XML file is like this:</p>

<pre><code>&lt;Auth ac="public" tid="public" uid="999932557885"&gt;
&lt;Uses pi="y" pa="n" pfa="n" bio="n" otp="n" pin="n"/&gt;
&lt;Skey&gt;FBhKjNEFFrtWzpR7RHQhA9H4tg4C2R5i6y8wp6D9c1Sf7U7bXckfeIalkM7UEgV9yZW04LrY3AdWSLta8ueQ8dZakLx++So+dUSY7Ebr0XG4ao/1lcFIxG2k8Y42A27PXepCIITdaMHn9HsuSJrxRDzPK3NJuTMOkGZSorH10lA=&lt;/Skey&gt;
&lt;Data&gt;foTmheciNrdTD7c7iCs1VUHVeAAQgMsI/sgmpd7YpEZTAk/28dZ+flNQckxjl6wPn7BZu65nL5hxaLfKDcMfAplijdR2yLvtXWNN5izgk/E=&lt;/Data&gt;
&lt;/Auth&gt;
</code></pre>

<p>When I put the content of the XML file in a string it gives error although it works in Java.
I have to strictly use Android.</p>
