Using the ReplacementTemplate
options means that Ensconce will read one file, apply the substitution to it but save it under a different file name.
This means you have the ability to read a single file, but save that file multiple times with slightly different content.
<root>
<lookupValue></lookupValue>
</root>
<Files>
<File Filename="PATH\File1.xml">
<ReplacementTemplate>PATH\BaseFile.xml</ReplacementTemplate>
<Changes>
<Change type="ChangeValue" xPath="/root/lookupValue" value="File1" />
</Changes>
</File>
<File Filename="PATH\File2.xml">
<ReplacementTemplate>PATH\BaseFile.xml</ReplacementTemplate>
<Changes>
<Change type="ChangeValue" xPath="/root/lookupValue" value="File2" />
</Changes>
</File>
</Files>
<root>
<lookupValue>File1</lookupValue>
</root>
<root>
<lookupValue>File2</lookupValue>
</root>