Binding user-selected filename to xml data provider source
<p>I want to allow the user to choose an xml file (by clicking on a menu item) for it to then be processed using the xml data provider in codebehind if possible. How would I do this?</p>

<p>I can't bind on the source like this:
<code>&lt;XmlDataProvider x:Key="ProductsXml" Source="{Binding OpenRecordMenuItem_Click}"/&gt;</code></p>

<p>I know I could process the xml via a click handler or such on the menu item.</p>