tags:

views:

29

answers:

2

I have a structure like

This is what

data.data = <node classid="1" label="Teacher" Addr="#1, CP"/>

How can I access the content, i tried

  1. [email protected]
  2. data.data.node.label
  3. data.data.label

Any help!!

+1  A: 

try

data.data.@classid

data.data.@label

You need to use @ to get XML data values.

Read this article for more info.

Umesh
A: 

Thanks for all your comments, there was an issue with the data I was assigning to the data provider, got it resolved.

Panther24