Skip to main content

BIN mpb5c Documentation

  • Author:

  • Version: 10

  • Description: Simple Single Occurrence Choice Example

  • Created: 2016-09-26

  • Modified: 2016-09-26

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Simple Single Occurrence Choice Example' >
        <choice name='SimpleOrAddress'>
            <field name='Simple' type='xs:string'/>
            <field name='Address' type='Simple'/>
            <field name='Simples' type='xs:string' maxOccurs='3'/>
            <choice name='NestedChoice'>
                <field name='SimpleNested' type='xs:string'/>
                <field name='AddressNested' type='Simple'/>
            </choice>
        </choice>
    </complexType>
    <complexType name='Simple' >
        <field name='street' type='xs:string'/>
        <field name='city' type='xs:string'/>
    </complexType>