DOMXPath
PHP Manual

DOMXPath::registerNamespace

(PHP 5, PHP 7)

DOMXPath::registerNamespace Registers the namespace with the DOMXPath object

설명

public bool DOMXPath::registerNamespace ( string $prefix , string $namespaceURI )

Registers the namespaceURI and prefix with the DOMXPath object.

인수

prefix

The prefix.

namespaceURI

The URI of the namespace.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.


DOMXPath
PHP Manual