Im trying to make an xml validiation code for e-mails which should be end with
@gmail.com@hotmail.com@yahoo.com
I have implemented a code for gmail but I didn't figure out how can I create a pattern for 3 different type.
<xs:element name="email">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z_.0-9]+@gmail\.com"></xs:pattern>
</xs:restriction>
</xs:simpleType>
</xs:element>