RE: Choice: attribute or child element

Not using just W3C XML Schema. 

-- 
PITHY WORDS OF WISDOM 
Freedom is the right to be wrong not the right to do wrong.


This posting is provided "AS IS" with no warranties, and confers no
rights. 

>  
>  
> -----Original Message-----
> From: Alessandro Vernet [mailto:avernet@scdi.org] 
> Sent: Friday, December 06, 2002 3:15 PM
> To: xmlschema-dev@w3.org
> 
> 
> All,
> 
> Is there a way to write a schema to validate documents that 
> look like: 
> <a><b/></a>, or <a c="..."/> (i.e. the element "a" must have 
> a child element "b" or an attribute "c", but not both)?
> 
> Alex
> 
> 

Received on Saturday, 7 December 2002 17:45:20 UTC