Flex + Access XML Content
I have a structure like
This is what
data.data = <node classid="1" label="Teacher" Addr="#1, CP"/>
How can I ac开发者_如何学编程cess the content, i tried
- data.data.@node.label
- data.data.node.label
- data.data.label
Any help!!
try
data.data.@classid
data.data.@label
You need to use @ to get XML data values.
Read this article for more info.
Thanks for all your comments, there was an issue with the data I was assigning to the data provider, got it resolved.
精彩评论