View Full Version : Grid from xml that have variably named tags?

23 Feb 2010, 7:18 AM
I need to show xml data in my gridpanel. My xml looks like this:

<Status DateAndTime='12-01-2010 12:21:00'>
<Door State='1' Dscription='some text' />
<Engine State='0' Dscription='some text' />
<Something State='1' Dscription='some text' />

Now tags under <Status> tag may vary by name. Like, there could be no <Door> tag but any other etc...

Now I dont know how to configure my XmlReader and gridpanel columns etc for this kind of stuff. Please guide me a little !!!!