Hi there,
I’m having this problem with my map. The source file sometimes have a loop and how to handle this?
[b:fe7a424b97]Source schema[/b:fe7a424b97]:
[code:1:fe7a424b97]xs:complexType name=\"ADDRESSType\">
– <xs:sequence>
<xs:element name=\"ADDRLINE\" type=\"ADDRLINEType\" />
<xs:element minOccurs=\"0\" ref=\"CITY\" />
<xs:element minOccurs=\"0\" ref=\"POSTALCODE\" />
</xs:sequence>
</xs:complexType>
– <xs:complexType name=\"ADDRLINEType\" mixed=\"true\">
<xs:attribute name=\"index\" type=\"xs:string\" use=\"required\" />
</xs:complexType>[/code:1:fe7a424b97]
The problem is that sometime the ADDRLINE loops with index 1-3 but the distination schema only contain one element to store the data. I’m only interested in the first line (index). Any advise on how to solve this?
Best regards
Torben