Here is another way of doing the same thing: myXMLInstance..*::images;
Steve On Sun, Jan 11, 2009 at 10:34 AM, David Bellerive <david_beller...@yahoo.com > wrote: > The AS3.0 documentation states that when a QName instance does not have a > URI (it only has a local name), it will match any namespace. > > However, when I create a new QName instance like this > > var myQName:QName = new QName(null, "images"); > > and use that QName instance like this > > var results:XMLList = myXMLInstance.elements(myQName); > > my variable named results should contain an XMLList instance with every XML > child element whose local name is "images" and whose namespace can be > anything because my QName instance has a URI set to null. However, this > doesn't work as expected. My QName instance does not match any XML element > with a local name "images" that has a namespace. > > Any ideas? > > > > _______________________________________________ > 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