PDA

View Full Version : XML Grid - Retreiving XML ELement Attributes



busybee
4 Oct 2010, 1:58 PM
<State Id="1" Name="John" email-"[email protected]" >
<City Id="501" CustomerName="Darryl Bowen" />
<City Id="502" CustomerName="Kai Ramadan" />
</State>
<State Id="1" Name="John" email-"[email protected]" >
<City Id="501" CustomerName="Darryl Bowen" />
<City Id="502" CustomerName="Kai Ramadan" />
</State>


From the sample XML above, how can we retrieve the attributes(Id, Name, email) of the element state and also
City. To represent this kind of xml would require multiple grids. Is there a way I could retrieve the attributes ?

Animal
4 Oct 2010, 10:48 PM
@Id