Re: Simplexml and xml namespaces
| From: | George Schlossnagle | Date: | Fri, 19 Aug 2005 02:56:05 +0000 |
| Subject: | Re: Simplexml and xml namespaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18218@lists.php.net to get a copy of this message | ||
On Aug 18, 2005, at 10:43 PM, Rasmus Lerdorf wrote:
Or, alternatively, have a separate arrays:
["title"]=>
array(2) {
[0] => string(6) "Title1"
[1] => string(6) "Title2"
}
["media:title"]=>string(11) "Media Title"
The latter is actually what I was (naiively) expecting.
I think this latter one is bad. The local prefix is local, and I think it's broken to have it show up in a parsing of the document. I agree the current namespace handling is really frustrating, but I don't think this is a good solution.
George