Re: [PHP] loadXML() and namespace

2010-02-17 Thread Michael A. Peters
Michael A. Peters wrote: It seems that if I use loadXML($string) and the $string has a namespace defined in it, domdocument is nuking the namespace and changing the nodenames from whatever to defaultwhatever. Example - http://www.w3.org/1998/Math/MathML";> *snip* would get changed t

[PHP] loadXML() and namespace

2010-02-15 Thread Michael A. Peters
It seems that if I use loadXML($string) and the $string has a namespace defined in it, domdocument is nuking the namespace and changing the nodenames from whatever to defaultwhatever. Example - http://www.w3.org/1998/Math/MathML";> x 2 +