Define $xml to pass xml object

In my project, I needed to pass a xml object in my envelop SOAP. 

So, I add '$xml' variable as '$value' without xmlParser function.