The ImageGenerator Xml file can contain both the InputProfile and the OutputProfile XML tags in the same file as follows:
<ImageGenerator>
<InputProfile>
.
Input Profile Tags
.
</InputProfile>
<OutputProfile>
.
Output Profile Tags
.
</OutputProfile>
</ImageGenerator>