How to get xml-node with attributes and text content as child at same time with php-soap?
Trying to generate an xml-request for external webservice using php-soap.
By service’s api I should pass attributes and text value of node:
<Volume type="I" determiningMethod="N">192</Volume>
How to do that?
When I pass assoc-array like this:
Volume => [type=>"I",determiningMethod=>"N"]
<Volume type="I" determiningMethod="N"/>
And, of course, if I try this
Volume => 192
But I need both