J
Jonathan Wood
I've been toying with DataSet.ReadXml(). I'm able to call this method and
load an XML file. However, my data is hierarchical as follows:
<Categories>
<Category Name="XXX1">
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
</Category>
<Category Name="XXX2">
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
</Category>
</Categories>
When I examine the returned rows, I only have the categories and not the
subcategories.
I'll be reading more about this and will eventually understand it better.
But if anyone know a fairly simple way to make this work, that would be much
appreciated.
Thanks.
Jonathan
load an XML file. However, my data is hierarchical as follows:
<Categories>
<Category Name="XXX1">
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
</Category>
<Category Name="XXX2">
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
<Subcategory>...</Subcategory>
</Category>
</Categories>
When I examine the returned rows, I only have the categories and not the
subcategories.
I'll be reading more about this and will eventually understand it better.
But if anyone know a fairly simple way to make this work, that would be much
appreciated.
Thanks.
Jonathan