Lists Home |
Date 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 <email@example.com>
Research Scientist, Expway http://expway.com/
7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488