Reformat Response into Instance

On subscriber Matching I send the following request:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.5.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<soap-env:Envelope xmlns:soap-env="">schemas.xmlsoap.org/.../" xmlns:syn="">www.synchronicer.dk">
<soap-env:Body>
<syn:userGet password="xxxxxxxx" requestId="" user="user" userCommonID="ACHRI"/>
<operation-data soap-action="userGet"/>
</soap-env:Body>
</soap-env:Envelope>
</input>
</nds>


On itp I get this response (after removing SOAP header and body):
<nds dtdversion="2.0">
<source>
<product build="20141001_0707" instance="SOAPSynchronicer" version="4.0.0.2">Identity Manager Driver for SOAP</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<userGetResponse status="success" xmlns="">http://www.synchronicer.dk" xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
<user userCommonID="ACHRI" userMail="n/a" userInitials="ACHRI" userLanguage=DAN" userLogonName="ACHRI" userName="Anna Christiansen" userSalaryID="1234">
<roles/>
<request>
<syn:userGet password="xxxxxxxx" requestId="" user="user" userCommonID="ACHRI"/> xmlns:syn="">www.synchronicer.dk"/>
</request>
</userGetResponse>
<operation-data soap-action="userGet" xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../>
</output>
</nds>


I am trying to reformat the response into an instance that can will be returned to the matching policy.
Any ideas on how to do that?