开发者

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

  1. data.data.@node.label
  2. data.data.node.label
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜