[HPT-140] Make provision for attached XML document