private static function adjustNamespaces($el)
	{
		foreach ($el->getNamespaces(true) as $prefix => $ns) {
			$children = $el->children($ns);
			foreach ($children as $tag => $content) {
				$el->{$prefix . ':' . $tag} = $content;
			}
		}
	}
private static function adjustNamespaces($el)
	{
		foreach ($el->getNamespaces(true) as $prefix => $ns) {
			$children = $el->children($ns);
			foreach ($children as $tag => $content) {
				$el->{$prefix . ':' . $tag} = $content;
			}
		}
	}
private static function adjustNamespaces ( $ el ) { foreach ( $ el -> getNamespaces ( true ) as $ prefix => $ ns ) { $ children = $ el -> children ( $ ns ) ; foreach ( $ children as $ tag => $ content ) { $ el -> { $ prefix . ':' . $ tag } = $ content ; } } }
Generates better accessible namespaced tags.
@param  SimpleXMLElement
@return void
Generates better accessible namespaced tags .