:: Forum >>
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
Tuesday, February 22, 2005
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
Friday, May 20, 2005
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.
Tuesday, February 7, 2006
This topic is archived.
Back to support forum
Forum search