This content has been marked as final. Show 5 replies
You will need to use "bracket notation" to select these kinds of node.
For example, try: myXML.["abc.xyz"].text().toString();
I'm unable to compile your suggestion. Here's what I try to accomplish.
Given this example xml (stripped for values):
I'm trying to set the dataProvider property on a datagrid (I guess I could set this programmatically - anyway, I'd like to know if it's possible in the declarative way).
This does not compile.
This does (but it will select any node)
Is it possible to declare a nodename containing a dot at all?
That is take out the dot before the bracket.
I'm 95% sure that I also tryed without the dot, before submitting my last reply - and this had no effect either. So I wonder what else I did wrong then, as I have just started flex and entered your suggestion - and it works perfectly...
Sorry I got it wrong the first time.
You know, sometimes you just need to make the computer understand that you will not accept "no" for an answer.