I have xml that looks like this: <user name="john"> <param name="type" value="nok"/> <param name="username" value="john"/> <param name="password" value="smith/> <param name="p2p" value="yes"/> <param name="host" value="dynamic"/> <param name="port" value="6954"/> </user>
and I want to populate a DataGrid so that the first column gets populated by the "value" attribute of the param with name attribute "type" and so on. Do I have to transform the xml to another data model format first? Hopefully there is a way use xml attributes as data sources for the columns directly. Thanks in advance for any help or pointers. ------- Shidan