What is the best way to map the following XML to a structure and back?
I don't care about obvious boilerplate like xmlns:SOAP-ENV and xmlns:m but, unfortunately, these need to be parsed and written on the way out :-(.
Thanks in advance, Joel
---
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body>
<m:getPresence
xmlns:m=
"http://schemas.microsoft.com/winrtc/2002/11/sip"> <presentity uri="sip:tar...@tradewind.com"/>
</m:getPresence>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>