Hi, <br><br>how would I use the xsd:choice element in my schemas?<br><br>Currently I tried the following but I get "invalid schema structure" errors:<br><br><br><xsd:complexType name="OpenCmsTest"><br>
<xsd:sequence><br> <xsd:choice><br> <!-- <br> <xsd:element name="MT1" type="OpenCmsModule1" minOccurs="0" /><br> <xsd:element name="MT2" type="OpenCmsModule2" minOccurs="0" /><br>
--><br> <xsd:element name="Headline" type="OpenCmsString"<br> minOccurs="1" maxOccurs="1" /><br> <xsd:element name="Title" type="OpenCmsString"<br>
minOccurs="1" maxOccurs="1" /><br> </xsd:choice><br> </xsd:sequence><br> <br> <!-- 6. locale attribute is required --><br> <xsd:attribute name="language" type="OpenCmsLocale"<br>
use="optional"/><br> </xsd:complexType><br><br>Unfortunately I did find any documentation or examples, just notes that it is now possible to use that.<br><br>Thanks in advance,<br><br>Thomas<br>