Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #37: Parsing a Raw XML File

Highlighted
17 - Castor
17 - Castor

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

Highlighted
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
Highlighted
10 - Fireball

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

 

Highlighted
12 - 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!

Highlighted
12 - Quasar

Finally got round to using XML parse tool

 

Spoiler
Challenge #37.PNG
Highlighted
13 - Pulsar
 
Highlighted
14 - Magnetar
14 - Magnetar
Spoiler
Started with 2 XML Parse tools then smooth sailing from there!
nav_overview.png
Highlighted
Alteryx Certified Partner

Noice

Spoiler
challenge 37.PNG
Highlighted
8 - 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
Highlighted
11 - Bolide

Cheers!