2 Replies Latest reply on Jul 22, 2010 2:48 AM by Kevinants83

    Creating e4x expressions at runtime


      Hi all,

      i have an XML document acting as a repository for user preferences. Users may get/set/remove preferences by simply querying for keys in dotted notation as follows:




      What i would like to do is translate the input String "application.background.color" into an equivalent e4x expression to be executed on my XML document. I searched the net and read some books about Flex, but i'm really not able to figure out how to do it at runtime. Anyway it sounds to me a little bit weird not providing users with an E4X parser.


      Does anyone else has ever faced the same problem? Is there a clean solution to translate Strings into E4X filters?


      Thank you very much in advance.