in my browser wpf application i use databinding to xml that comes from my database. to bind it the better way i use the XmlDataProvider.
in the beginning i declare
<Grid.DataContext>
<XmlDataProvider x:Name="listdataxml" XPath="EssenceList/Essence" Source="model.xml"/>
</Grid.DataContext>
but later i need to point it to a new XDocument. The question: is there a way to set my XmlDataProvider to an XDocument, without saving it somewhere and using URI?