Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Validate Xml document [Thread Next] Re: Validate Xml documentTo: NULL Date: 6/11/2008 3:42:00 PM heshamelesawy@g... wrote: > i need to change the schema > to validate the <subelement Sequence="1">137</subelement> > where the valid values are 137 Or 138 You can restrict subelement to contain only the values 137 or 138 but not depending on the Sequence attribute value. Such constraints where an element values depends on an attribute value are not possible in the W3C XML schema language. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
