RE: Conditional type definition

> 
> So there is the "anElement" and depending on its type the 
> subelements are different. Is there a way to declare this 
> behaviour with XSD?
> 

With XSD 1.1, yes - it's called Conditional Type Assignment.

With XSD 1.0, no.

Michael Kay
Saxonica

Received on Wednesday, 10 March 2010 16:36:49 UTC