I'm wondering if there's an issue or a trick that I may not be aware of.
I have a \"master\" template for lack of a better description that simply checks the values of checkboxes to determine which templates to generate.
If a template is to be run, it does so under the context.ExecuteTemplate function.
My problem is that if more than one template needs to execute, I sometimes get the output object getting filled with the contents of different templates.
I've tried calling output.clear before executing any template and within each individual template I do the same thing before doing anything in the template, but regardless, as soon as I select checkboxes to execute more than one template, thats' when the corrupt output seems to happen.