OL Learn

COTG - Process form Tablerow data


#1

Hi,

I have a COTG project that submits a form for processing which includes table rows. In the datamapper to process this data I am unable to repeat on the xml node for each row as the node name is suffixed with an _X. Where X is the row number.

How do I create a repeat on this data so that the datamapper can identify the tablerows? I have tried looking at using XPath/Query substring within the path but this either does not work or I am getting a syntax issue.

This must be a simple thing to fix as COTG is designed to return this type of row data. Can someone please point me in the correct direction?

Thanks,

Andy


#2

I have found my own answer. I needed to use the Xpath Query starts-with '/*[starts-with(name(),‘row_’)]

Andy