when you refer to the node write it like this: yweather::condition with double colons
HTH/Christoffer

Robert Leisle skrev:
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

Reply via email to