Use the namespace feature. Something (if not exactly) like this: var ywNS:Namespace = xml.namespace("yweather");
trace(myXml.ywNS::conditi...@text); trace(myXml.ywNS::conditi...@code); trace(myXml.ywNS::conditi...@temp); Jason Merrill Bank of America Learning Performance Solutions Instructional Technology & Media Learn about the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Robert Leisle Sent: Monday, February 09, 2009 3:17 PM To: 'Flash Coders List' Subject: RE: [Flashcoders] Getting attributes out of a node with : in it Check out the Namespace class, as it applies to XML, in the Flash docs. There's also a good explanation in this tutorial by Lee Brimelow: http://gotoandlearn.com/play?id=65 hth, Bob -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Monday, February 09, 2009 10:37 AM To: Flash Coders List Subject: [Flashcoders] Getting attributes out of a node with : in it For example I have a node like so: <yweather:condition text="Partly Cloudy" code="30" temp="34" date="Mon, 09 Feb 2009 12:56 pm EST"/> How can I get into that node to pull attributes out? The ":" in the node name is screwing my up at the moment. Eric _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders