RE: Conditional type definition

"Michael Kay" <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <4D1DD3CAEC8F40D68DF5116746297D27@Sealion>
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.