map xml to trx