Maps to a UML Attribute with the stereotype XSDpattern. The name and type of such an attribute do not make sense.
- value – to Attribute initial value or TaggedValue with name ‘value’.
 
pattern XML representation summary
<pattern
id = ID
value = anySimpleType
	{any attributes with non-schema namespace…}>Content: (annotation?)
</pattern>
{value} must be a valid regular expression.
pattern XML code sample
The following is the definition of a user-derived datatype which is a better representation of postal codes in the United States, by limiting strings to
those which are matched by a specific regular expression.
<simpleType name='better-us-zipcode'>
<restriction base='string'>
		<pattern value='[0-9]{5}(-[0-9]{4})?'/></restriction>
</simpleType>