XML to DataGrid

I want to load XML data at the DataGrid but not all the data but only some of them with a specific id . something like that in mySQL

SELECT * FROM data WHERE type=1;