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
アステロイド

Here is my solution

dharini
アステロイド

My solution. 

jssandom
アステロイド

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

Jim7
アステロイド

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

JoshuaGostick
ボリード

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

スポイラ
challenge_37.PNG

 

kbwissi
アステロイド

Completed.

Suzu
コメット

Here is my solution.

jbranaum
アステロイド

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
アステロイド

Solution attached.

 

スポイラ
challenge 37.PNG
ipeng
アステロイド

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