3.0 beta 2

retrieving XML attributes and populating a grid.

Hi,

I have an exported XML file of the format
<DeviceData>
<DeviceSet>
<Devices>
<Device host="host1">
<DeviceAttribute Name="IPAddress" type="String">
192.168.1.1
</DeviceAttribute>
<DeviceAttribute Name="IPNetmask" type="String">
255.255.255.0
</DeviceAttribute>
</Device>
<Device host="host2">
</Device>
</Devices>
</DeviceSet>
</DeviceData>

I am trying to Populate a Grid with the 1st column being the host attribute, the second column being the IP Address and the third being the Netmask.

But... I dont understand how to populate the grid with these values given the above XML format, especially when it comes to getting the "host" & "Name" attributes.

Can anyone help. I'd be really gratefull.

Many thanks
Greg
February 22,
I also need to figure out this? Greg, do you have an idea how to display xml attributes in grid?

thanks
Suresh M
Suresh M
May 20,
I was handling the same thing. I transformed then original XML file (attribute based) into a XML formed by elements by means of XSL transformation.
Raciel R.L.
February 7,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.