Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - pattern for range of numbers and one fixed number [Thread Next] Re: pattern for range of numbers and one fixed numberTo: Markus Gamperl <markus.gamperl@---.--> Date: 3/6/2007 1:08:00 AM 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 www.---.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 From mike@s... Mon Mar 05 21:55:35 2007 Received: from | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
