I am a bit knew to the kendo stuff hence i am seeking your help. i am trying display a kendo grid using xml data. However the rows of the grid are shown empty.i am trying fetch the data from the url(http://demos.kendoui.com/service/Northwind.svc/Products) and set the data source on the kendo widget. Once i run the sample (http://jsfiddle.net/visibleinvisibly/c3qsdjq0/19/) it shows empty grid. I believe this is happening as i am not able to set the "data" property in the "schema" object of the datasource.I wouldnt like to use json for this sample
Below is the sample Xml data
<feed xml:base="http://demos.telerik.com/kendo-ui/service/Northwind.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
.............................
...........................
<entry>
..................
....................
<content type="application/xml">
<m:properties>
<d:ProductID m:type="Edm.Int32">1</d:ProductID>
<d:ProductName>Chai</d:ProductName>
<d:UnitPrice m:type="Edm.Decimal">18.00</d:UnitPrice>
</m:properties>
</content>
</entry>
</feed>
The data property in schema is set like this
schema: {
type: "xml",
data: "/feed/entry/content/properties",
model: {
fields: {
ProductID: "ProductID/text()",
ProductName: "ProductName/text()",
UnitPrice: "UnitPrice/text()"
}
}
}
Thanks in advance,
alex.