1<?xml version="1.0"?> 2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 3 4 <xs:element name="test"> 5 <xs:complexType> 6 <xs:attribute name="test1" type="myType"/> 7 <xs:attribute name="test2" type="myType"/> 8 <xs:attribute name="test3" type="myType"/> 9 <xs:attribute name="test4" type="myType"/> 10 <xs:attribute name="test5" type="myType"/> 11 </xs:complexType> 12 </xs:element> 13 14 <xs:simpleType name="myType"> 15 <xs:restriction base="xs:string"> 16 <xs:pattern value="[&#65;]"/> 17 </xs:restriction> 18 </xs:simpleType> 19 20</xs:schema> 21