I'm trying to bind XForms instances according to an XML Schema. It works fine with facets, like in the following case, where ValeurNoteType is a restriction on an xs:decimal type :
<xforms:bind nodeset="instance('note-template')">
<xforms:bind nodeset="Valeur" type="ValeurNoteType"/>
</xforms:bind>
XForms 1.1 doesn't seems to support complex types for binding, like in the following example, where ExamenType is a sequence :
<xforms:bind nodeset="instance('examen-template')">
<xforms:bind nodeset="Examen" type="ExamenType"/>
</xforms:bind>
What I want is to avoid to write <xforms:bind nodeset="Titre" required="true()"/> for every element of the ExamenType type for which there is a Min Occurs = 1 in the xml schema (or other conditions, like xs:date type for an element in the sequence and so on).
Is there a way to do it with Orbeon ?