Alteryx Designer Desktop Discussions

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

Parsing Alteryx XML

busybee
7 - Meteor

I am trying to parse an XML file. I have attached the image of the workflow and the input XML file. When I select Return Child Values in my Input Data tool, it outputs the data in the <Values> tag as in Image1. However, I also want to output the data in the <Module> tag.

 

Any suggestions to resolve this? 

 

1 REPLY 1
Maskell_Rascal
13 - Pulsar

Hi @busybee 

 

If you want your data in columns like the picture you attached, you can input the file as a .csv and use the XML Parse tool to get the desired output.  

 

Maskell_Rascal_0-1604095406137.png

 

Otherwise, you can get the Module to come through in the Input tool by selecting the Return Root Element option. This will spread all of your data across several columns though. 

 

Maskell_Rascal_1-1604095554738.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Thanks!

Phil

Labels