Working with namespaces
First when you start working with XML in flex you are completely wondered about how easy the xpath like syntax is used. However some botlenecks might occur. One of them is using namespaces. Consider the following example: <?xml version="1.0" encoding="UTF-8"?><report version="3.2.15" xmlns="http://www.len.ro/report"> <item name="user">len</item></report> First approach is to do something like: var myXML:XML = XML(event.result);trace("XML: " + myXML.item.@name); you will see nothing and start wondering what you are doing wrong. Some time later you realize it’s namespace related and you try (according to flex doc) to do this:...