in the application simplexml has been converting an rss feed to an object and the elements have been extremely easy to reference. are prefixed elements (eg <this:that> )referenced the same way as a non prefixed element($item->this) in the object.
I have found no information in the manual on php.net.
Not quite. When you do a
print_r()orvar_dump()of an object representing namespaced XML you’ll notice all the namespaced nodes are missing. There are a few ways to get namespaced nodes. One way is using registerXPathNamespace() in conjunction with xpath():Another way is to use children() to get child nodes: