there's this http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/XML.html#elements()
<http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/XML.html#elements()>you should also search for e4x wildcards if you want to search for a list of nodes that have a common attribute it's like this: var list:XMLList = xmlData.nodeNames.(@attributeName == "attributeValue"); i believe you can get a complete list of a nodes elements by using a * var list:XMLList = xmlData.nodeNames.*.childNodeName; although if you just want a list of children you can use .children() var list:XMLList = xmlData.nodeNames.children(); there's also the descendent accessor which will return a list of all descendents regardless of parent var list:XMLList = xmlData.nodeNames..childNodeName; http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/operators.html#descendant_accessor i don't really know what you're trying to do to be honest but you should find something useful in these links best a On 15 June 2010 19:41, Lehr, Theodore <[email protected]> wrote: > I need to create a dynamic XML request (not sure that is the right > terminology). I've put a sample of what I need below. > > I need to turn > > XMLdata.test[0].elements("myTest"); > > into > > var req:String = "test[0].elements('myTest')"; > XMLdata[req]; > > anyone ever try that? Thanks for any help > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

