Unfortunately, PHP SimpleXML does not natively support parsing XML data with namespaces. For example, there is xml data of Jiangzi:
$content = "
< /xxx:wrap>";
//Replace string
$content = str_replace('xxx:', '', $content);
//Read the replaced string
$ xml = simplexml_load_string($content);
Filter out all namespaces directly through string replacement. Done in an instant, haha!