using xml builder to construct text messages