Mega Code Archive

 
Categories / XML / XML Schema
 

Mexican postal codes are simple five-digit numbers, with the first two digits representing a region, followed by three digits f

<?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="mex_PostalCode" > <!-- "nnnnn" -->        <xs:restriction base="xs:positiveInteger" >           <xs:length value="5" />        </xs:restriction>     </xs:simpleType> </xs:schema>