Friday, 7 November 2014

xs : minExclusive : Defines minimum value that can’t be reached

            <!-- validate descendents -->
        <xs:element name=" descendants ">
            <xs:simpleType>
                <xs:restriction base="xs:integer">
                    <xs:minExclusive value="0" />
                    <xs:maxInclusive value="7" />
                </xs:restriction>
            </xs:simpleType>
        </xs:element>

Above snippet specifies descendants for an employee must >= 1 and <=7.

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment