Dhtml Grid


i have a dhtml grid which have 10 column .



sno,col1,col2,col3,col4,col5,col6,col7,col8,col9



1,ram,raju,india,10,ui,78,98,Firstclass,rate



 



i want to show the rate of the 98(is a train no) and firstclass from  my xml using xquery and show in rate cell



my xml is this



<?xml version="1.0" encoding="utf-8"?>



<TrainFare>



<FareDetails



TrainNo=“1057”



TrainClass=“Third AC”



StartPlaceCode=“AGR”



StartStationCode=“AGC”



DestPlaceCode=“DEL”



DestStationCode=“NDLS”



TrainFare=“360” />



<FareDetails



TrainNo=“1057”



TrainClass=“Second AC”



StartPlaceCode=“AGR”



StartStationCode=“AGC”



DestPlaceCode=“DEL”



DestStationCode=“NDLS”



TrainFare=“413” />



<FareDetails



TrainNo=“2615”



TrainClass=“First AC”



StartPlaceCode=“AGR”



StartStationCode=“AGC”



DestPlaceCode=“DEL”



DestStationCode=“NDLS”



TrainFare=“468” />



<FareDetails



TrainNo=“2615”



TrainClass=“Second AC”



StartPlaceCode=“AGR”



StartStationCode=“AGC”



DestPlaceCode=“DEL”



DestStationCode=“NDLS”



TrainFare=“203” />



</TrainFare>



 



please help me.

The grid require incoming XML in specific format.
If you want to use custom format you need to write custom data parsing code.
Please check
dhtmlx.com/docs/products/dhtmlxG … tloadtypes