Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Weekly Challenges

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

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #37: Parsing a Raw XML File

pasccout
8 - Asteroid

Here is my solution

dharini
8 - Asteroid

My solution. 

jssandom
8 - Asteroid

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

Jim7
8 - Asteroid

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

JoshuaGostick
11 - Bolide

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

Spoiler
challenge_37.PNG

 

kbwissi
8 - Asteroid

Completed.

Suzu
9 - Comet

Here is my solution.

jbranaum
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.

Karam
8 - Asteroid

Solution attached.

 

Spoiler
challenge 37.PNG
ipeng
8 - Asteroid

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