Page 1 of 1

Problems parsing XML

Posted: Wed Sep 07, 2011 4:53 am
by cluster28
Why this class (http://es.php.net/manual/es/class.domdocument.php#93900) doesn´t parse nodes with same name?

Re: Problems parsing XML

Posted: Wed Sep 07, 2011 3:06 pm
by Christopher
Probably because it uses the node name as the array key. You could probably modify that code by checking if a key is set and converting the value for that key to an array.