Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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

AlexC2
8 - Asteroid

Great challenge! had to use some fancy regex for this. 

 

Spoiler
AlexC2_0-1599399329167.png

 

mollymargolis
8 - Asteroid

my solution

LukaszKarpinski
8 - Asteroid

My solution attached.

 

Łukasz_0-1599814248881.png

 

 

Kind regards,

Łukasz

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
AkimasaKajitani_0-1599817040266.png

 

Paradox
7 - Meteor
Spoiler
Paradox_0-1600102973811.png

I thought parsing each child field would be quicker than getting the right Regex patterns, especially since all child fields are known.
I labeled the billing and shipping information first so the 10 grandchild fields wouldn't need duplicate parsing tools and used a transpose-formula-cross to rename the fields.

liamholland
8 - Asteroid

Solution:

Spoiler
Solution.png
PhilBalderson
8 - Asteroid

XML parser is not my fave tool - kind of think we need an easier way to navigate XMLs trees, and work out what we need. But it does work! 

CatB
8 - Asteroid

My solution - I know I don't need the selects but it helped me keep tabs on which part I was at. 

Tokimatsu
12 - Quasar

Solved.

Spoiler
2020-10-13_20h10_08.png

Qiu
20 - Arcturus
20 - Arcturus

Not really know about XML 

Spoiler
en-37.PNG