|
PHP5中文手册
SimpleXMLElement->getDocNamespaces()(PHP 5 >= 5.1.2) SimpleXMLElement->getDocNamespaces() — Returns namespaces declared in document 说明SimpleXMLElement
array getDocNamespaces
([ bool $recursive
] )
Returns namespaces declared in document 参数
返回值The getDocNamespaces method returns an array of namespace names with their associated URIs. 范例
Example#1 Get document namespaces
<?php
Example#2 Working with multiple namespaces
<?php |