public static function xmlToObject(xmllist:XMLList):Object
指定された XMLList インスタンスのオブジェクト表現を返します。
Returns the string representation of the specified object.
Parameters
| xmllist:XMLList — 変換したい XMLList インスタンスです。
The XMLList instance to convert.
|
Returns
| Object — XMLList インスタンスのオブジェクト表現です。
A Object representation of the XMLList instance.
|
Example
var xml:XMLList = new XMLList( ""
+ "AAA"
+ "BBB"
+ "CCC" );
var obj:Object = XMLUtil.xmlToObject( xml );
trace( obj.aaa ); // AAA を出力します。
trace( obj.bbb ); // BBB を出力します。
trace( obj.ccc ); // CCC を出力します。