note 77416 added to ref.simplexml
| From: | http://menic dot info at osu1 dot php dot net | Date: | Wed, 29 Aug 2007 01:04:57 +0000 |
| Subject: | note 77416 added to ref.simplexml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129865@lists.php.net to get a copy of this message | ||
@Leonid Kogan:
Your script is not working in all cases. It has problem with non-uniques elements, ie:
<?php $array = array( 'root' => array( 'first' => array(
'value', 'other' ) ) );?>
In XML it should looks like this:
<root>
<first>value</first>
<first>other</first>
</root>
But it will looks:
<root>
<first>
<1>value</1>
<2>other</2>
</first>
</root>
which is wrong.
----
Server IP: 195.136.184.34
Probable Submitter: 83.3.126.202
----
Manual Page -- http://www.php.net/manual/en/ref.simplexml.php
Edit -- https://master.php.net/note/edit/77416
Del: integrated -- https://master.php.net/note/delete/77416/integrated
Del: useless -- https://master.php.net/note/delete/77416/useless
Del: bad code -- https://master.php.net/note/delete/77416/bad+code
Del: spam -- https://master.php.net/note/delete/77416/spam
Del: non-english -- https://master.php.net/note/delete/77416/non-english
Del: in docs -- https://master.php.net/note/delete/77416/in+docs
Del: other reasons-- https://master.php.net/note/delete/77416
Reject -- https://master.php.net/note/reject/77416
Search -- https://master.php.net/manage/user-notes.php