Find and Copy into another element
Posted: Wed Apr 11, 2018 5:16 pm
Hi, I am trying to find a way where the value inside <contactphone>value</contactphone> to be copied to <custom name="cs_phone">paste here</custom>
Doing manual work seems to be taking several hours for me (thousand records). Is there a way I can automate this? Any help is much appreciated
Doing manual work seems to be taking several hours for me (thousand records). Is there a way I can automate this? Any help is much appreciated

Code: Select all
<listings>
<listing>
<title lang="en_US">Apartment</title>
<content lang="en_US">Apartments for Rent</content>
<category>Apartments</category>
<contactemail>test@cdv.com</contactemail>
<contactname>Prop</contactname>
<price>1</price>
<currency>EUR</currency>
<city_area> </city_area>
<city>Belfast</city>
<region>CoAntrim</region>
<countryId>UK</countryId>
<country>United Kingdom</country>
<contactphone>04422222222</contactphone>
<custom name="ad_from">Prop</custom>
<custom name="no_rooms">4</custom>
<custom name="area">0mp</custom>
<custom name="cs_phone"> </custom>
<image>https://test.com/a.jpg</image>
<datetime>2018-04-06 10:53:51</datetime>
</listing>
.
.
.
</listings>