I'm trying to figure out how to create a XML Source Definition that will pick up the attributes of an XML element. When GP creates the definition from the 'Template', it simply creates a record set node and then adds a field to that which contains only a single value for what should be a child record set with it's own fields.
How do I configure the XML Source Definition to pick up the 'type' and 'isPrimary' attributes as fields inside a record set object?
<ReferenceNumbertype="Load ID"isPrimary="true">LD766</ReferenceNumber>
<ReferenceNumbertype="Shipment ID"isPrimary="false">SN702</ReferenceNumber>
In GP Integration Manager (XML Source Defintion):
From XML Notepad:
<ReferenceNumbertype="Load ID"isPrimary="true">LD766</ReferenceNumber>
<ReferenceNumbertype="Shipment ID"isPrimary="false">SN702</ReferenceNumber>
<ReferenceNumbertype="Customer Load ID"isPrimary="false">CLR732</ReferenceNumber>
<ReferenceNumbertype="SCAC"isPrimary="false">STDF</ReferenceNumber>
<ReferenceNumbertype="PRO"isPrimary="false">1049837375</ReferenceNumber>
<ReferenceNumbertype="Customer Acct Number"isPrimary="false">ABC</ReferenceNumber>
</ReferenceNumbers>