You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
636 B

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="test">
<xs:complexType>
<xs:attribute name="test1" type="myType"/>
<xs:attribute name="test2" type="myType"/>
<xs:attribute name="test3" type="myType"/>
<xs:attribute name="test4" type="myType"/>
<xs:attribute name="test5" type="myType"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="myType">
<xs:restriction base="xs:string">
<xs:pattern value="[56;&amp;#]"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>