While creating a sample application for some class content the other day, I ran into an XML/E4X situation that I’d never encountered before. It is pretty basic – deleting a node from XML. How does one do it? With the delete keyword of course! For example: [as]var myXML:XML = Hamburger Fries Med. Soda Lg. Soda [...]
E4X XML Namespaces
For XML that looks like the following response from Yahoo’s weather service: When you need to access the nodes with complex node names such as yweather:location think XML namespaces. In the above example, look for the xmlns declaration in the rss node – xmlns:yweather=’http://xml.weather.yahoo.com/ns/rss/1.0′. Creating a Namespace object using the declaration will allow us to [...]



