PHP namespace simplexml problems
问题 Evening guys. Firstly to say, I have read How do I parse XML containing custom namespaces using SimpleXML?. I\'m parsing an XML document from a source not mind, and they use a custom namespace. <?xml version=\"1.0\" encoding=\"utf-8\"?> <rss version=\"2.0\" xmlns:moshtix=\"http://www.moshtix.com.au\"> <channel> <item> <link>qweqwe</link> <moshtix:genre>asdasd</moshtix:genre> ... For example. When I parse using SimpleXML, none of the mostix: namespace elements are on show or accessible.