You have looked at the samples? There we have a Grid that gets populated using XML