Hi I am writing a custom template generator for my xml file. I was wondering if you guys can tell me a way I can generate more than one output file from the template under the same template.
The no of file should depend on the no of xml files I input
If I want to generate the c# class for a.xml I am doing something like this
<#= XmlToCsGenerator.Xml(this.Host.ResolvePath("a.xml")) #>
where my function XmlToCsGenerator.Xml(string path) returns the string to be written into the file.
Thanks in advance