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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to