Concat replace "<>" -> "&gt;&lt" 

Concat replace "<>" -> "&gt;&lt" 

  
Hi,

I want generate xml file and I used "concat" fuction to merge 2 strings. Next I put this string to "input widget" and what I saw is

<Convert>
 <Config>&lt;DEVICE NAME = gwcpd2&gt;  &lt;CMDPARAM NAME = USER&gt; &lt;value&gt; Norbert_Blandzi_JMD9876 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = IP_ADDRESS&gt; &lt;value&gt; 123.4.54.3 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = MAC_ADDRESS&gt; &lt;value&gt; mac3 &lt;/value&gt; &lt;/DEVICE&gt;&lt;DEVICE NAME = gwcpd2&gt;  &lt;CMDPARAM NAME = USER&gt; &lt;value&gt; Norbert_Blandzi_JMD9876 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = IP_ADDRESS&gt; &lt;value&gt; 123.4.54.3 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = MAC_ADDRESS&gt; &lt;value&gt; mac3 &lt;/value&gt; &lt;/DEVICE&gt;&lt;DEVICE NAME = gwcpd2&gt;  &lt;CMDPARAM NAME = USER&gt; &lt;value&gt; Norbert_Blandzi_JMD9876 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = IP_ADDRESS&gt; &lt;value&gt; 123.4.54.3 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = MAC_ADDRESS&gt; &lt;value&gt; mac3 &lt;/value&gt; &lt;/DEVICE&gt;&lt;DEVICE NAME = gwcpd2&gt;  &lt;CMDPARAM NAME = USER&gt; &lt;value&gt; Norbert_Blandzi_JMD9876 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = IP_ADDRESS&gt; &lt;value&gt; 123.4.54.3 &lt;/value&gt; &lt;/CMDPARAM&gt; &lt;CMDPARAM NAME = MAC_ADDRESS&gt; &lt;value&gt; mac3 &lt;/value&gt; &lt;/DEVICE&gt;</Config>
</Convert>

Anyone could tell me what should I do to change ""&gt;&lt" to "<>"?
hi,
to replace those characters, you can use the extension text, and then use the action regex_replace.

the parameters are:
text: "your text"
Pattern :
"&lt;"
Replace : "<"
need to repeat it to replace the others characters.

text: "Regex_Replace.Result"
Pattern :
"&gt;""
Replace : ">"

Regards,
Luís

Hi,

Thanks Luis! It works perfectly!