I was trying to set an input control as "read-only", but it doesn't work as explained in Equivalent XSLTForms class values.
<xf:input ref="instance('person')/@name" class="xforms-readonly">
<xf:label>Name:</xf:label>
</xf:input>
Any idea why? I'm trying to avoid using CSS and use 100% xforms capabilities.