Your ListView didn't work on my machine. I modified your code, a little, to
make sure that the ListView was doing anything. The modified code is:
<StackPanel>
<TextBlock>ListView</TextBlock>
<ListView ItemsSource="{Binding Source={StaticResource Books},
XPath=foo:Books/foo:Book}" >
<ListView.View>
<GridView>
<GridViewColumn Header="Name1" DisplayMemberBinding="{Binding
XPath=foo:Name}" />
<GridViewColumn Header="Row?" >
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="A Row" />
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
<TextBlock>ListBox</TextBlock>
<ListBox ItemsSource="{Binding Source={StaticResource Books},
XPath=foo:Books/foo:Book}" >
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding XPath=foo:Name}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
I also added 3 more <foo:Book> nodes into Books.xml. When I run the
application, the window looks like this:
----------------------------------------
| ListView
| Name1 Row?
[quoted text clipped - 7 lines]
| Third
| Fourth
----------------------------------
Given that your code works properly on your machine, I have to conclude that
the problem is in the particular release of the .Net 3.0 WPF assemblies
installed on my computer.
Here's where I get a little confused. In my VS2005 project file, the
references for PresentationCore and PresentationFramework both go to dlls in
"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0".
Those DLLs are listed as "Runtime Version v2.0.50727, Version 3.0.0.0".
However, my GAC contains different versions of the same 2 assemblies: the
GAC assemblies are marked as "Product Version 3.0.6912.0 Version 3.0.0.0"
(BTW, I'm doing this testing on a Vista Business 64-bit system).
Have I installed out-of-date copies of the WPF/WCF Framework SDKs?

Signature
Jim Hudson
Walter Wang [MSFT] - 06 Aug 2007 04:19 GMT
Hi Jim,
After further testing, this looks like an issue of .NET Framework 3.0 but
fixed in .NET Framework 3.5 Beta 2. Please install .NET Framework 3.5 Beta
2 from here:
#Download details: .NET Framework 3.5 Beta 2
http://www.microsoft.com/downloads/details.aspx?familyid=d2f74873-c796-4e60-
91c8-f0ef809b09ee&displaylang=en
We're sorry for the inconvenience caused by this. I'll file a bug for it.
Please note the RTM version of .NET Framework 3.5 is scheduled to be
released at end of 2007; beta 2 of it is also included in VS2008 (aka
Orcas) beta 2, which can be downloaded here:
http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Jim Hudson - 06 Aug 2007 13:22 GMT
Thanks for the info, Walter. I'll pass the word about those 2 beta versions
around here at my company.

Signature
Jim Hudson
Walter Wang [MSFT] - 07 Aug 2007 03:26 GMT
Hi Jim,
Thanks for your quick reply. Please feel free to let me know if you have
any concerns or questions about this issue.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.