Link to home
Start Free TrialLog in
Avatar of komlaaa
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>
ASKER CERTIFIED SOLUTION
Avatar of mbodewes
mbodewes
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of komlaaa
komlaaa

ASKER

you sound pist man!