why oh why does ds.ReadXML always skip ONE node???

threeo

Member
Joined
May 26, 2010
Messages
15
Programming Experience
1-3
i have a well-formed xml file
i read it into a dataset using ds.ReadXML
and then display the results in a datagrid
it works perfectly
well....except for one littl issue that is driving me insane.....
it ALWAYS skips right past one of my nodes.
here is a snippit of my XML file:

<size>750ml</size>
<food-pairing />
<industry-reviews />
<regular-price>8.74</regular-price>
<price>8.74</price>

why oh why does it always skip past <industry-reviews /> ???

later in the dataset this node has actual data (but even if it never did....i should still get an empty column in my datagrid with the heading "industry-reviews" but i don't)

here is a node with actual data:

<industry-reviews>
−<industry-review>
−<industry-review-detail>
The 2006 Chardonnay reveals high acidity. When I tasted it at age 12 months, it had still not had any SO2 added, and it was still on its primary lees. I have written at length about Kongsgaard's belief that Chardonnay has to first die in the barrel, then resurrect itself, and unless a winemaker has the guts to watch that happen, it is doubtful they will achieve the complexity that Kongsgaard does on a routine basis. The 2006 is young, primary, and elegant with plenty of citrus and tangerine oil characteristics as well as hints of quince and crushed rocks. It should prove to be long-lived given its acid profile.
</industry-review-detail>
<industry-review-by>RP</industry-review-by>
<industry-review-points>94</industry-review-points>
</industry-review>
</industry-reviews>

so it is nested

is something wrong with this structure?

any idea why it isn't getting picked up?
 
Back
Top