Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

XML Output to create based on no of records available in input file

Myusrename001
8 - Asteroid

Team,

This is basic input data that i wanted to convert to xml format based on no of records available on dataset, on below example - we have 2 records.

 

<?xml version="1.0" encoding="UTF-8"?>
<AccountNo>
<Branch>
<AccountType>

 

Lets say we have a records lie this showing separately on dataset  

AccountNo - 1234 & 2345
Branch - abc & bcd
AccountType D & C

 

The output should create like this

<?xml version="1.0" encoding="UTF-8"?>
<AccountNo>1234</AccountNo>
<Branch>abc<\Branch>
<AccountType>D<\AccountType>

------------------------------------------------- (end or space)

<?xml version="1.0" encoding="UTF-8"?>
<AccountNo>2345</AccountNo>
<Branch>bcd<\Branch>
<AccountType>C<\AccountType>

------------------------------------------------- (end or space)

 

Can anyone guide me please. 

Thanks ! 

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @Myusrename001,

I've got a basic workflow which can convert your input to your output:

IraWatt_0-1652258678842.png

If you have any questions make sure to ask :)

HTH,

Ira

 

Myusrename001
8 - Asteroid

Thanks so much @ IraWatt 

The solution works perfect.  

IraWatt
17 - Castor
17 - Castor

Awesome ! no worries @Myusrename001  

Labels