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
8 - Asteroid

Here is my solution

Highlighted
8 - Asteroid

My solution. 

Highlighted
Alteryx Certified Partner

Had to use a lot of (too many) XML Parse tools but this was a really useful challenge with real-life applications!

Highlighted
8 - Asteroid

Nice to get some experience with the xml parsing tool, attached is my solution.

Highlighted
Alteryx Certified Partner

My solution (note: my final output doesn't match the solution exactly because the solution contains whitespace)

Spoiler
challenge_37.PNG

 

Highlighted
8 - Asteroid

Completed.

Highlighted
Alteryx Certified Partner

Here is my solution.

Highlighted
8 - Asteroid

My Solution

 

Same core strategy as the posted solution, seperating shipping info from billing info and parsing seperately but I ended up taking a much longer way around, parsing each child by name distinctly.

 

This was my first time with XML parsing so I was unaware you could get there using the the root>outer xml configuration.

 

Nice learning experience.

Highlighted
Alteryx Certified Partner

Solution attached.

 

Spoiler
challenge 37.PNG
Highlighted
8 - Asteroid

Solution attached! Fist time using XML Parsing tool. It is great to learn something new!