RE: Conditional contents of an element based on an attribute. XSD

In the XML file you mean? Like this?

 

<Job xsi:type="Normal">

            <El1>...</El1>

<El2>...</El2>

</Job>

 

Saying that this "Job" element is of type e.g. "Normal"? Thereby
specifying the elements within the element?

 

What would this look like in my XSD?

 

Received on Monday, 7 November 2005 14:41:57 UTC