I have what must (hopefully) be a newbie issue. I’ve created a Record from an XML Schema that contains this element:
<xs:element ref=“Value” maxOccurs=“unbounded”/>
<xs:attribute name=“Position” type=“xs:positiveInteger” use=“optional”/>
<xs:attribute name=“Name” type=“xs:string” use=“optional”/>
<xs:attribute name=“DataType” type=“xs:string” use=“optional”/>
Now my first problem is that “Parameters” gets automatically created as a Record instead of a RecordList. This seems wrong since the schema defines it as having a child with maxOccurs=“unbounded”.
Anyway, I changed it to be a RecordList. Now the bigger problem, is that when I submit an XML doc containing multiple “Parameter” elements via TN and convert it into a Record using bizdocToRecord, I only get the last “Parameter” element as a record in my boundNode. Specifically, I submit a doc with 13 "Parameter"s and I only get one record (Parameter, containing the last parameter) in my resulting RecordList.
I’ve also specified the Record to use for this process in the options tab of my Doctype in TN. Anyone know what I’m doing wrong? TIA.