You need to reference the XML in the resources, you can do this typically by :
<Window.Resources>
<XmlDataProvider x:Key="MyXML" d:IsDataSource="True" Source="MyXml.xml" />
</Window.Resources>
Then, hook up in your datagrid using
ItemsSource="{Binding Source={StaticResource MyXML}}"