DOM
PHP Manual

DOMNode->isDefaultNamespace()

(No version information available, might be only in CVS)

DOMNode->isDefaultNamespace() — Checks if the specified namespaceURI is the default namespace or not

说明

DOMNode
bool isDefaultNamespace ( string $namespaceURI )

Tells whether namespaceURI is the default namespace.

参数

namespaceURI

The namespace URI to look for.

返回值

Return TRUE if namespaceURI is the default namespace, FALSE otherwise.


DOM
PHP Manual