Hi
I want to bind the following XML to a couple of controls in WPF.
Each category name should bind to the items source of a combo box, then when a category is selected in the combo box I want to bind the list of Products from the selected category to a listview
Here is the XML:
<?xml version="1.0" encoding="utf-8" ?>
<Categories>
<Category Name="Category1">
<Products>
<Product Name="Product 1"/>
<Product Name="Product 2"/>
</Products>
</Category>
<Category Name="Category2">
<Products>
<Product Name="Product 1"/>
<Product Name="Product 2"/>
<Product Name="Product 3"/>
</Products>
</Category>
</Categories>
and so on..