rename tags and attributes in _def.xml