I have a very simple application resource specified as
<Application.Resources>
<XmlDataProvider x:Key="MoreColors" XPath="/colors">
<x:XData>
<colors>
<color name="pink"/>
<color name="white"/>
<color name="black"/>
<color name="cyan"/>
<color name="gray"/>
<color name="magenta"/>
</colors>
</x:XData>
</XmlDataProvider>
</Application.Resources>
and then a window trying to populate a listview with elements from the xml as
<ListBox x:Name="lbColor"
IsSynchronizedWithCurrentItem="True"
Width="248" Height="56"
ItemsSource="{Binding Source={StaticResource MoreColors}, XPath=color/@name}">
</ListBox>
But when run the application does not populate the Listview at all. I cannot believe I havent been able to get something as simple as this to work....