enumerated and patterned QNames

Hey all, 

I want to make an enumeration for a simple type based on a QName. I assume that I can do the following:
<xs:restriction base="xs:QName" xmlns:md="http://www.example.net/schema/qnames#">
	<xs:enumeration value="md:foo" />
	<xs:enumeration value="md:bar" />
	<xs:enumeration value="md:jim" />
</xs:restriction>

But I'm not really sure how I can do a pattern to do something similar. 

Adam

Received on Thursday, 30 October 2003 19:57:51 UTC