ML Gradle Export to File doesn't provide a way to export header and body in a single XML payload
I tried to export the body using the following,
gradle mlExportToFile -PwhereUriPattern=*.xml -PexportPath=c:\export\export.xml -PfileHeader="<results>" -PfileFooter="</results>"
The above export gradle export statement gets me the following result,
<results>
<customer id="1">
.
.
</customer>
<customer id="2">
.
.
</customer>
</results>
However, I expect the output to be,
<results>
**<TransactionRequestDt>2019-15-02T13:22:01</TransactionRequestDt>
<VersionCd>1.0</VersionCd>
<RequestorSystemCd>05</RequestorSystemCd>**
<body>
<customer id="1">
.
.
</customer>
<customer id="2">
.
.
</customer>
<body>
</results>
TransactionRequestDt, VersionCd & RequestorSystemCd are coming from a different document structure. Is there a way to combine the results while exporting using gradle export task?