Suppose you want a money type to specify that the PRICE element content must look like $1.35 or ¥11000
PRICE
Derive this from the xsd:string type by restriction
xsd:string
Use a regular expression to specify the pattern