Skip to main content

BIN zzExk Documentation

  • Author:

  • Version: 8

  • Description: At least 30 participants - XPath - Instance constraint example from Eleusoft Application Documentation. Just an example, could be implemented better with [minInclusive=30] facet.

  • Created: 2014-09-21

  • Modified: 2016-01-30

  • Source:

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

    Printers Embed Responsive

    <complexType name='GroupBooking' description='At least 30 participants - XPath - Instance constraint example from Eleusoft Application Documentation. Just an example, could be implemented better with [minInclusive=30] facet.'>
        <field name='ParticipantsCount' minOccurs='1' type='xs:int'/>
        <constraint name='Min30Participants' category='boolean' selector='.'>
            <expression grammar='xpath'
                 path='number(ParticipantsCount) &gt;= 30' />
        </constraint>
    </complexType>