xml split because of junk python
<p>I am getting an xml string from namedpipe of buffer size (4096) : 
here is the xml string </p>

<pre><code> &lt;?xml version="1.0" standalone="no" ?&gt;
 &lt;response id="rp001"&gt;
 &lt;command opcode="-ac"&gt;
    &lt;mode value="tester" /&gt;
    &lt;key value="AKIAJVW3VWOTZL5UAAYQ" /&gt;
    &lt;passkey value="QpPLmpdl89zAza+nv5fmCMta5ZsPvGkbFvJ6xWZH" /&gt;
    &lt;name value="test" /&gt;                    
   &lt;/command&gt;
 &lt;/response&gt;
 ˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛˛
</code></pre>

<p>i am getting this unreadable characters after response. what i am think is to chop the characters after <code>&lt;/response&gt;</code> and strore the value in another variable. how do i do this chop or spilt.  </p>
