var xml:XML = <someNode some-attribute="attribute data" />;
trace([EMAIL PROTECTED]"some-attribute"]);
trace(xml["@some-attribute"]);
trace(xml.attribute("some-attribute"));Kenneth Kawamoto http://www.materiaprima.co.uk/ Alias? wrote:
Hi guys, Quick E4X question. I have an XML node, with an attribute inside, the name of which contains a dash "-". How can I access the value of this node via e4x inside actionscript? FDT doesn't seem to like the concept at all... Example: <someNode some-attribute="attribute data"> I want to get the value of "some-attribute". Thanks in advance, Alias
_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

