var xml:XML = <xml att="" />; trace(xml.@att == undefined); // false trace(xml.@att.length()); // 1 trace(xml.@att.toString().length); // 0 trace(xml.@foo.length()); // 0