W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

enumerated and patterned QNames

From: Adam van den Hoven <AvandenHoven@cucbc.com>
Date: Thu, 30 Oct 2003 16:57:50 -0800
Message-ID: <24B5BB9D2057E546B6CFBAB6A46C974308EF93@c2kmail1.cucbc.com>
To: <xmlschema-dev@w3.org>

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" />

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC