Vai al contenuto principale

BIN JbIcm Documentation

  • Author:

  • Version: 9

  • Description: Test of choice set ... work in progress

  • Created: 2025-05-08

  • Modified: 2025-05-08

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Test of choice set ... work in progress' >
        <choice name='BookInfo' maxOccurs='n' >
            <field name='Name' type='xs:string'/>
            <field name='Title' type='xs:string'/>
            <field name='Book' type='Book'  extra:lct.field='#all'/>
        </choice>
        <constraint name='OnlyOneChoiceForElement' category='key' selector='BookInfo'>
            <expression grammar='xpath' path='(Name or Title or Book)'></expression>
        </constraint>
    </complexType>
    <complexType name='Book' description=''>
        <field name='Title' type='xs:string'/>
        <field name='Author' type='xs:string'/>
    </complexType>