add xml from templates rendering