Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Replace value in tag elements of XML

Banu
6 - Meteoroid

I have a XML file with the below tag elements. I have to replace the Address line1,city,Postalcode tag elements with the list  attached in the excel sheet and construct the xml file for each address.

 

<rows>
<row>
<AddressLine1>3101 SW Troon Ln</AddressLine1>
<City>Bentonville</City>
<PostalCode>72712</PostalCode>
<Country>USA</Country>
<user_fields>
<user_field>
<name>AddressCode</name>
<value>1</value>
</user_field>
</user_fields>
</row>
</rows>

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

Hi @Banu, I've attached the way I would do it. Let me know if you have more requirements or if your situation isn't quite solved with the attached. I just brought the excel file with addreses into the workflow and used a formula tool to build the xml needed. 

 

Patrick Digan

Banu
6 - Meteoroid

Thanks Patrick. It works!!!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels