DOMNode::isDefaultNamespace

Tells whether namespaceURI is the default namespace

public function isDefaultNamespace(
  string $namespaceuri,
): bool;

Parameters

  • string $namespaceuri - The namespace URI to look for.

Returns

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