community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #37: Parsing a Raw XML File

Aurora

Mine's a linear solution.  Neat to look at, but gets messy to work with if you don't clean up unnecessary fields

Spoiler
Solution 37.png

 

Dan

Alteryx
Alteryx

I am not a huge fan of parsing HTML, but at least I can do it ... even if by brute force.

 

Spoiler
37 workflow.jpg

Ewwwww....

 

I'm trying to work my way though all of these challenges so I don't have as much time as I'd like, but I think there could be an iterative macro solution here that would be more elegant.  Someday when I find the time, I'll try that route.  In the meantime, here is my parsing the parser solution.

 

Spoiler
challenge_37_completedScreen.jpg

 

Quasar

My solution below. Not very elegant but it gets the job done. Did the challenge because I have a real XML problem to work next. Oh joy!

Quasar

Finally got round to using XML parse tool

 

Spoiler
Challenge #37.PNG
Pulsar
Pulsar
Pulsar
Spoiler
Started with 2 XML Parse tools then smooth sailing from there!
nav_overview.png
Alteryx Partner

Noice

Spoiler
challenge 37.PNG
Asteroid

 

I don't play around with XML parsing that much, so I tend to use quite a few tools to avoid losing track.

I had a bit trouble with field ordering as the solution is changed compared to input.

 

Spoiler
challenge_37_start_file_MarMu.png
Bolide