Add the following template configuration element to your custom .xxe file:
<template name="Name of the template to be replaced" 
          location="template1.xml" />Specify the English name of the template as listed by the  →  dialog box. XHTML example: "Page" (not "Seite").