Friday 7 November 2014

xs : maxInclusive : Defines maximum value that can be reached

<!-- validate taxEmption -->
        <xs:element name="taxExemption">
            <xs:simpleType>
                <xs:restriction base="xs:float">
                    <xs:maxInclusive value="250000" />
                </xs:restriction>
            </xs:simpleType>
        </xs:element>

Above snippet restricts the maximum taxEmption to 250000.

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment