I am working with SOAP-PEAR and run on a nasty problem I don't know answer to. First I explain what I know how to do. I am trying to construct a soap request and I know how to do this if XML has this structure:
Case 1
Code: Select all
<parent>
<child1>string</child1>
<child2>string</child2>
<child3>string</child3>
</parent>
Now my problem is that I don't know how to create an array() or some other data if XML structure is like this:
Case 2
Code: Select all
<parent child1="value1" child2="value2" child3="value3" />
Your help will greatly be appreciated.
Thank you,
Victor.