XSD Resolved!

Jason was right on the money. This works as expected:

<xs:complexType name="block">
<xs:choice>
<xs:sequence>
<xs:element name="from"
type="xs:string"
/>
<xs:element name="to"
type="xs:string"
minOccurs="0"
/>
</xs:sequence>
<xs:element name="to"
type="xs:string"
/>
</xs:choice>
</xs:complexType>

Thanks, Jason!

Leave a comment

Your comment