In E4X we use dot notation to access a node in an XML:

var foo = customxml.config.backgrou...@url

Is it possible to substitute variables in portions of the path above? Something 
like this:

var myNode = "background";
var myAttr = @url;

var foo = customXML.config.[myNode].[myAttr];

Possible?

Thanks very much

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to