<xs:element name="AadhaarCardNo" minOccurs="0"> <xs:simpleType> <xs:restriction base="nonEmptyString"> <xs:pattern value="|[1-9][0-9]{11}|[1-9][0-9]{27}" /> </xs:restriction> </xs:simpleType> </xs:element>