Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: pattern for range of numbers and one fixed number

From: George Cristian Bina <george@---------.--->
To: 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 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent