If you want to use a template that contains a subset of the elements in the standard output template, create a dynamic output template. If you want the ability to remove some elements from the standard template and perhaps add your own elements, you do that by passing your XML data or a file name into the YFSEnvironment object.
To define and deploy a dynamic template: