generateTemplateXslate.pl: automatic generation of template's template - prototype