I'm trying to output the contents of a repeating field to a txt file. I can get the first record of the table to appear, but i am unsure how to get any other records. Below is a snippet of the code I have:
iItemCount = XDocument.DOM.selectNodes("//dfs:dataFields/d:Table1/@TestField1").length
iRow=0
do while iRow < iItemCount
nodeValue = XDocument.GetNamedNodeProperty(XDocument.DOM.selectSingleNode("dfs:dataFields/d:Table1/@TestField1"), "TestField1", "wrong")
oTempFile.Write nodeValue
iRow = iRow + 1
loop
This code is outputting 'wrong' (the value associated with a null field or no return?)
Any idea on how I can output the contents of a repeating section or table?
Thanks