Hi,
I read xml file, I have
<field1>Value</field1>
and in <field10>
I want to have ABC Network - ABC.comValue (the value from <field1>
)
How to implement it in datamapper?
Thanks in advance.
Hi,
I read xml file, I have
<field1>Value</field1>
and in <field10>
I want to have ABC Network - ABC.comValue (the value from <field1>
)
How to implement it in datamapper?
Thanks in advance.
This can be achieved by executing the following steps:
<field10>
in the XML viewer pane and select the option Add Extractionlet field1 = data.extract("./record[1]/field1[1]");
let field10 = data.extract("./record[1]/field10[1]");
if (field1) field10 += field1;
field10;
When performing the above steps, I expect the XML data to look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<records>
<record>
<field1>Value</field1>
<!-- [...] -->
<field10>www.example.com?uid=</field10>
</record>
</records>
Great! Thank you very much!