W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2007

pattern for range of numbers and one fixed number

From: Markus Gamperl <markus.gamperl@gmx.at>
Date: Mon, 05 Mar 2007 21:42:09 +0100
Message-ID: <20070305204209.255300@gmx.net>
To: xmlschema-dev@w3.org


I want to define an element which exepts the number 11 until 109 and the number 999.

The following simple type:
<xs:simpleType name="intzahl">
 <xs:restriction base="xs:integer">
  <xs:minInclusive value="11"/>
  <xs:maxInclusive value="109"/>

How to define the pattern for the value 999?

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Received on Monday, 5 March 2007 20:42:18 UTC

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