Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

MinExclusive, minInclusive, maxExclusive, maxInclusive

<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"   targetNamespace="http://www.rntsoft.com"    xmlns="http://www.rntsoft.com"   elementFormDefault="qualified">   <xs:simpleType name="negativeInteger">     <xs:annotation>       <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#negativeInteger" />     </xs:annotation>     <xs:restriction base="xs:nonPositiveInteger">       <xs:maxInclusive value="-1"/>     </xs:restriction>   </xs:simpleType> </xs:schema>