Add remote trailer to xml