/ ActionScript

Darn them XML namespaces!

Ugh, this E4X stuff is all a bit new to me - I'm still not used to namespaces and stuff.  For some reason I've had trouble extracting data from XML when I'm using a namespace.  I have no idea why, but it seemed that with the namespace in use, my attempts at extracting data from the XML returned blank data.

Never fear!  It seems that either removing the namespace or replacing it with a wildcard would let me access the data.  Kudos to the blog posts of Riley (Got RIA?) : Remove Annoying XML Namespaces in Flex / AS3 and Getting around unknown namespaces in Flex / AS3.

So until I get my head around how namespaces work, I'm going to be using the techniques described in the links above.  Until then, if anyone can explain this to me - I'd be very greatful!

James Ford

James Ford

Front End web developer, author of the Flash Facebook Cookbook and Senior Developer at Deeson.

Read More