(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 = array( "ATTR" => "_attr:", "NS" => "_name_space", "VAL" => "_val:" ); require_once("/xmlphp/xml/XML.php"); $xml = new XML(); $xml->changeProperties($names);