1
子孫:フレックス、XMLは、私のようないくつかの属性を持つすべてのXML要素(XMLの子孫)を取得したい
var booksXML: XML = <books>
<book concept="rr" author="xx"/>
<book concept="tt" />
<book concept="yy" />
<book concept="uu" author="xx"/>
</books>
for each (var xmlBook: XML in booksXML.children())
{
if ([email protected] != undefined)
trace(xmlBook.toXMLString());
}