Hi , I am able to display the contents of my incoming XML file using smooks in the freemarker template, but I want to add Current Date & time of my local system to identify the execution of my program.
<ftl:freemarker applyOnElement="CreditCard">
<ftl:template><!-- <BalanceInquiryRequest>
<TransactionId>${BalanceInquiryRequest.TransactionId}</<TransactionId>
<ConfigurationId>${BalanceInquiryRequest.ConfigurationId}</ConfigurationId>
<CardNumberr>${.vars["GiftCard"].CardNumber}</CardNumberr>
<ExpirationDate>${.vars["GiftCard"].ExpirationDate}</ExpirationDate>
<SecurityCode>${.vars["GiftCard"].SecurityCode}</SecurityCode>
*****************************
Here I want to display the current Date & time
</BalanceInquiryRequest>
--></ftl:template>
</ftl:freemarker>
Can you tell me how can I add current date & time in the XML without having an entry in the incoming XML.