Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

Merge our three patterns into one

<?xml version="1.0"?>   <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">      <xs:simpleType name="myByte">        <xs:restriction base="xs:byte">          <xs:pattern value="1?5?"/>        </xs:restriction>      </xs:simpleType>  </xs:schema>