XMLReader
PHP Manual

XMLReader::lookupNamespace

(PHP 5 >= 5.1.2)

XMLReader::lookupNamespaceLookup namespace for a prefix

说明

bool XMLReader::lookupNamespace ( string $prefix )

Lookup in scope namespace for a given prefix.

参数

prefix

String containing the prefix.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


XMLReader
PHP Manual