if you want to hide a field by adding a property to it
<!-- Hide the original reference field -->
<xpath expr="//field[@name='ref']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>