If your using Jquery plugin means check the mention path is correct or not
or else
Find the below sample code
jQuery("#gridid").jqGrid({
...
xmlReader : {
root: "rows",
colModel : [ {name:'amount',..., xmlmap:'amt'...}...],
row: "row",
page: "rows>page",
total: "rows>total",
records : "rows>records",
repeatitems: true,
cell: "cell",
id: "[id]",
userdata: "userdata",
subgrid: {
root:"rows",
row: "row",
repeatitems: true,
cell:"cell"
}
},
...
});