komlaaa
asked on
XML Schema alphanumeric
I am designing an XML schema. Below is how i can restrict on element to string only. How can restrict the element to alphanumeric?
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\[.+\].*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\[.+\].*"/>
</xs:restriction>
</xs:simpleType>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER