note 110471 added to soapvar.soapvar
| From: | JoniLindqvist | Date: | Thu, 25 Oct 2012 08:49:24 +0000 |
| Subject: | note 110471 added to soapvar.soapvar | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191542@lists.php.net to get a copy of this message | ||
I worked for hours to figure out how to create following structure:
<ns:Foo attr='bar'>
<ns:Baz attr='foobar'>barbaz</ns:Baz>
</ns:Foo>
It can be done with following array structure:
$arr = array(
'Foo' => array(
'attr'=>'bar',
'Baz'=>array( '_' => 'barbaz',
'attr'=>'foobar')
)
);
----
Server IP: 69.147.83.199
Probable Submitter: 77.86.197.11
----
Manual Page -- http://www.php.net/manual/en/soapvar.soapvar.php
Edit -- https://master.php.net/note/edit/110471
Del: integrated -- https://master.php.net/note/delete/110471/integrated
Del: useless -- https://master.php.net/note/delete/110471/useless
Del: bad code -- https://master.php.net/note/delete/110471/bad+code
Del: spam -- https://master.php.net/note/delete/110471/spam
Del: non-english -- https://master.php.net/note/delete/110471/non-english
Del: in docs -- https://master.php.net/note/delete/110471/in+docs
Del: other reasons-- https://master.php.net/note/delete/110471
Reject -- https://master.php.net/note/reject/110471
Search -- https://master.php.net/manage/user-notes.php