if (node.attribute("instance").length() > 0)
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You will get runtime errors when attempting to access an attribute that isn't
there. The proper way to check for existence and length of an attribute is to
use the .attributes() syntax as such:
- [Flashcoders] empty XML Attributes.. Glen Pike
- Re: [Flashcoders] empty XML Attributes.. Kenneth Kawamoto
- Re: [Flashcoders] empty XML Attributes.. Glen Pike
- Re: [Flashcoders] empty XML Attributes.. Ian Thomas
- Re: [Flashcoders] empty XML Attributes.. Steven Sacks
- Re: [Flashcoders] empty XML Attributes.. Taka Kojima
- Re: [Flashcoders] empty XML Attributes.. Steven Sacks
- Re: [Flashcoders] empty XML Attributes.. Glen Pike
- Re: [Flashcoders] empty XML Attribu... Steven Sacks
- Re: [Flashcoders] empty XML Attributes.. Kenneth Kawamoto

