Hi,
I am generating an XML file and trying to achieve this:
</CdtTrfTXinf>
<Amt>
<InstdAmt Ccy="EUR">11.00</InstdAmt>
</Amt>
</CdtTrfTXinf>
But am getting this:
<CdtTrfTXinf>
<Amt>
<InstdAmt Ccy="EUR">
<InstdAmt>11.00</InstdAmt>
</InstdAmt>
</Amt>
</CdtTrfTXinf>
Code:
Get AddElementNS of hoCredTransfer sNamespace "Amt" "" to hoAmt
Send AddElementNS of hoAmt sNamespace "InstdAmt" (Trim(sAmount))
Send AddAttributeNS of hoAmt sNamespace "Ccy" (Trim('EUR'))
Send Destroy of hoAmt
I tried the 'Send AddAttributeNS' with a namespace and also a blank namespace but both produced the same result.
What am I doing wrong?
TIA