XML for PHP - Manual

XML::changeProperties

(PHP 5)

- XML 要素名などを変更する

説明

public XML::changeProperties ( array $names )

* 「/xmlphp/xml/XML.php」 における以下のプロパティを変更できます。

public $ATTR = "_attributes:";
public $CAT = "_category:";
public $LIST = "_file:list";
public $NS = "_namespace:";
public $VAL = "_value:";

パラメータ

$names
指定した XML 要素名などを変更します。

$names = array(
	"ATTR" => "_attr:",
	"NS" => "_name_space",
	"VAL" => "_val:"
);

require_once("/xmlphp/xml/XML.php");
$xml = new XML();
$xml->changeProperties($names);

XML for PHP - Manual

XML for PHP