I'm using xmldatareader to parse an xml file and then bind data to either RTBs, datagrids and textboxes. I'm running into a problem with the xml schema, in which fields that contain an addition keyword won't get parsed/debugged/built. For example:
The subkeyword errors out during the reading process. I'm getting an error about nested data within the dataset for the subKeyword values.
I'm using this to pull the data:
Everything works fine there after as long as my XMLdata.xml file is "linear". Any suggestions on a different method to parse data with "data within the data"?
Or suggest an alternate method of grabbing data from xml? I'm a basement programmer: AKA n00b, so please be gentle.
Code:
<keyword>value</keyword>
<keyword>
<subKeyWord>value</subKeyWord>
<subKeyWord>value</subKeyword>
</keyword>
The subkeyword errors out during the reading process. I'm getting an error about nested data within the dataset for the subKeyword values.
I'm using this to pull the data:
Code:
XMLDataSet = New DataSet
' Change location of XML file as necessary in next line
XMLDataSet.ReadXml("P:\projects\xmldata\XMLData.xml")
DataGrid.DataSource = XMLDataSet
' Tell the grid to display the Builder table initially
DataGrid.DataMember = "BuildInfo"
Everything works fine there after as long as my XMLdata.xml file is "linear". Any suggestions on a different method to parse data with "data within the data"?
Or suggest an alternate method of grabbing data from xml? I'm a basement programmer: AKA n00b, so please be gentle.