SimpleXMLElement クラス
(PHP 5, PHP 7)
はじめに
XML ドキュメントの要素をあらわします。
クラス概要
final public __construct
(
string $data
[,
int $options = 0
[,
bool $data_is_url = false
[,
string $ns = ""
[,
bool $is_prefix = false
]]]] )
public addAttribute
(
string $name
[,
string $value
[,
string $namespace
]] ) :
void
public count
(
void
) :
int
public getDocNamespaces
([
bool $recursive = false
[,
bool $from_root = true
]] ) :
array
public xpath
(
string $path
) :
array
}
目次