<complexType name="MainType"> <annotation> <documentation xml:lang="en"> Describe a mathematical function. </documentation> </annotation> <complexContent> <extension base="xtce:BaseType"> <choice maxOccurs="unbounded"> <element name="Subtype1" type="type1"> </element> <element name="Subtype2" type="type2"> </element> <element name="Subtype3" type="type3"> </element> <element name="Subtype4" type="type4"> </element> </choice> </extension> </complexContent> </complexType> Input file, and desired output <MainType> <Subtype1>aaa</Subtype1> <Subtype2>bbb</Subtype2> <Subtype1>ccc</Subtype1> <Subtype2>ddd</Subtype2> <Subtype3>eee</Subtype3> <Subtype4>fff</Subtype4> <Subtype3>ggg</Subtype3> <Subtype1>hhh</Subtype1> </MainType> Current output file <MainType> <Subtype1>aaa</Subtype1> <Subtype1>ccc</Subtype1> <Subtype1>hhh</Subtype1> <Subtype2>ddd</Subtype2> <Subtype2>bbb</Subtype2> <Subtype3>eee</Subtype3> <Subtype3>ggg</Subtype3> <Subtype4>fff</Subtype4> </MainType>
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@liquid-technologies.com to your trusted senders list in your email software.