I'm reading the XForms 1.1 spec. I haven't read the whole thing yet as its dense and hard to read. The spec suggests I can define XSD constraints on my XForms model fields inline or imported from external XSD files. xforms:model
also has a schema
attribute which pulls in XSD schema. But its unclear to me exactly how I can use an XSD schema:
- Can associate ("bind") an xforms model element with a complexType or an XSD element with complexType?
- Can I skip the XForms model entirely and just use the XSD schema?!
I've really been chasing the second question. I don't think its the way it works, but it would be sweet if it worked that way.