Vai al contenuto principale

BIN XuLTv Documentation

  • Author:

  • Version: 3

  • Description: Choice Control Basic Example - single occurrence optional choice

  • Created: 2015-05-24

  • Modified: 2015-05-24

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Choice Control Basic Example - single occurrence optional choice '>
        <choice name='MyChoice' minOccurs='0' extra:form.maybenull='true'>
            <field name='Integer' type='xs:int' />
    	<field name='Date' type='xs:date' />
            <field name='Book' type='Book' />
    	</choice>
    </complexType>
    
    
    <complexType name='Book' description=''>
    	<field name='Title' type='xs:string'/>
    	<field name='Author' type='xs:string'/>
    </complexType>