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

SamDesk
11 - Bolide
Spoiler
SamDesk_0-1584541060656.png

 

Sam

myouree
8 - Asteroid

Solution attached.

atcodedog05
22 - Nova
22 - Nova

On a spree to binge complete weekly challenges

Finally was able to come up with a logic to parse it. I am getting better at hacking unformatted data 🙂

 

Spoiler
This is my solution

atcodedog05_1-1585249705587.png

 

kaianderson
8 - Asteroid

Here's my solution!

Milanz
8 - Asteroid

This is my solution 😉

PeterH23
8 - Asteroid

My solution

Spoiler
Challenge#37.png
aheikes
8 - Asteroid
Spoiler
Challenge37.JPG
papalow
8 - Asteroid

A great learning exercise.  This is my first experience parsing xml files.  

AndrewS
11 - Bolide

#37

steven4320555
8 - Asteroid

After revisiting the xml parser example, finished it pretty straight forward.

 

Edit: After viewing some of the solutions, I find my straight-line solution is simple and effective 🙂  

 

Spoiler
steven4320555_0-1586983461067.png


A very linear flow. XML is very good for hierarchical data.