Please read your quote carefully from the XML specs:
XML
4.3.3 , , , encoding <?xml>, "UTF-8" "UTF-8". / .
2.3 Common Syntactic Constructs, . , .
, Flash:
for each ( var attr:XML in xml.@*) {
if (attr.name().toString().toLowerCase() == test.toLowerCase())
}
:
var found:Boolean = false;
for each ( var attr:XML in xml.@*) {
if (attr.name().toString().toLowerCase() == test.toLowerCase()) {
found = true;
break;
}
}
if (found)
else