upload template-xml