[XML Records] Add an attribute to the tag

Forge Component
(44)
Published on 2019-11-25 by Afonso Carvalho
44 votes
Published on 2019-11-25 by Afonso Carvalho

Hi,

I want to add Ccy="EUR"  attribute to a tag as it showed below. Any advice how can I do this?


<Amt>

  <InstdAmt Ccy="EUR">1500.00</InstdAmt>

  </Amt>


Solution

Hi Meri,

I assume you want to write an attribute to XML. Check the Webscreen2 preparation of this module for an example.

Solution

Hi,

Version of Alfonso worked perfectly.

Thank you all.