Hey
I've got a problem with a conditional execution in a XML schema.
Depending of the value of an element (called SPL), an other element becomes mandatory (called RON, at the begining conditional).
It's something like this:
If SPL equals ZZZZZ, RON becomes mandatory (minOccurs="1")
<xs:element name="SPL" type="SPLtype"/>
<xs:element name="RON" type="RONtype" minOccurs="0"/>
Where do I write the following test?
<xs:if test="SPLtype='ZZZZZ'">
<xs:element name="RONtype" minOccurs="1"/>
</xs:if>
Sorry for my english.
Thank you, Mathieu.
I've got a problem with a conditional execution in a XML schema.
Depending of the value of an element (called SPL), an other element becomes mandatory (called RON, at the begining conditional).
It's something like this:
If SPL equals ZZZZZ, RON becomes mandatory (minOccurs="1")
<xs:element name="SPL" type="SPLtype"/>
<xs:element name="RON" type="RONtype" minOccurs="0"/>
Where do I write the following test?
<xs:if test="SPLtype='ZZZZZ'">
<xs:element name="RONtype" minOccurs="1"/>
</xs:if>
Sorry for my english.
Thank you, Mathieu.