Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Schema query Schema queryTo: NULL Date: 11/3/2008 6:02:00 PM I want to write an element into a schema to validate an XML input as being between 100 and 60000 in increments of 100. Is it possible? I can use <xs:restriction base="xs:integer> <xs:minInclusive value="100"/> <xs:maxInclusive value="60000"/> </xs:restriction> to define the lower and upper boundaries but how do I handle the increments of 100? With a smaller range (50 to 500 with increments of 50) I simply enumerated the possible entries (50, 100, 150, 200, etc.) but that seems to be a very clumsy method particularly with very large ranges. Steve | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
