<?xml version="1.0"?>
<data><xpath expr="//field[@name='encoding']" position="attributes">
                    <attribute name="invisible">is_gs1_nomenclature or type == 'alias'</attribute>
                </xpath>
                <xpath expr="//field[@name='alias']" position="after">
                    <field name="gs1_content_type" invisible="not is_gs1_nomenclature"/>
                    <field name="gs1_decimal_usage" invisible="not is_gs1_nomenclature or gs1_content_type != 'measure'"/>
                    <field name="associated_uom_id" invisible="not is_gs1_nomenclature or gs1_content_type != 'measure'"/>
                    <field name="is_gs1_nomenclature" invisible="1"/>
                </xpath>
            </data>