adding rough code for creating response xml templates