Re: pattern for range of numbers and one fixed number

Hi Markus,

You can define a union between a type as in your message and a type that 
restricts xs:integer to only 999 using xs:enumeration.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Markus Gamperl wrote:
> Hi.
> 
> 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"/>
>   ???
>  </xs:restriction>
> </xs:simpleType>
> 
> How to define the pattern for the value 999?
> 
> Thanks
> Markus

Received on Monday, 5 March 2007 21:10:27 UTC