OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Monthly Archives for xml-dev!

[ Lists Home | Date Index | Thread Index ]

Rui Alberto L. Gonçalves wrote:
>>I think that is not possible, but I'd like
>>to confirm with experts!!
>>I'd like to say in my XML Schema something like...
>>If the value of attribute X is Y, then attribute K is
>>mandatory, optional otherwise!!

No, that's not possible with XML Schema. But there are other ways, for instance 
if you use Schematron embedded in your XML Schema you can make that sort of 

Robin Berjon <robin.berjon@expway.fr>
Research Scientist, Expway      http://expway.com/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS