Hi Niels,
Add maxOccurs="unbounded" to the ProductionLines tag. For example: xs:element name="ProductionLines" maxOccurs="unbounded" minOccurs="1"
This will make the 1...N relation when you re-import the XSD.
Here is an example XSD:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="Production">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductionLines" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="No"/>
<xs:element type="xs:string" name="Lineno"/>
<xs:element type="xs:string" name="DueDate"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Try to remove both the attributeformdefault="unqualified" elementformdefault="qualified" attributes, like this:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<xs:element name="ProductionLines">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="No"/>
<xs:element type="xs:string" name="Lineno"/>
<xs:element type="xs:string" name="DueDate"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>