Hi Peter, Peter Hall wrote: > You don't need to give the namespace variable the same as the prefix that > ActionScript gives it when you toString() it. Internally, it doesn't use a > name and just generates one when you convert the XML to a string. > > You can give it something more descriptive like: > > namespace w3xml = "http://www.w3.org/XML/1998/namespace"; > trace(""+xml.status.presence.(@w3xml::lang=='en')); // Away >
Thanks for the information. That makes sense and was what I had originally thought would work. I originally tried calling the namespace variable xml to match the prefix in the XML document, however I received an error. If I had read the stacktrace message more carefully I'd have seen it was caused by me calling the namespace variable xml AND the XML variable xml. Whoops! :) cheers, - shaun

