Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account 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

Carolyn
9 - Comet

@SJKIM wrote:

Does anyone know how to easily compare the answers to see if they are correct?


Hi @SJKIM , 

 

I use the CReW Macro "Expect Equal". I connect the Solution file with my solution and it tells me where I have mismatches. It's very sensitive, so if things are different orders or if you have nulls and the solution has blanks, those will all flag

 

Expect Equal.png

Carolyn
9 - Comet

Solved

 

Spoiler
2023-11-10_12-44-35.png

Rob-Silk
8 - Asteroid

My solution below:

Spoiler
challenge_37_RS_screencap.PNG
Tofel
8 - Asteroid
Spoiler
Challenge 37.JPG
fluteman
8 - Asteroid

I thought this would use the xml tool; but it was a texttocolumns tool - using to rows feature. then we needed to group by Reference ID, Name and increment the name to get the Purchase, Shipment Addresses.

olga_strubbe
11 - Bolide

Thank you, @GeneR!  This was a fun one!

My solution is attached. 

2024-01-25_11-29-08.png

Sebastian_Chaieb2
8 - Asteroid
8 - Asteroid

XML parsing still hides a lot of unknown to me

 

Spoiler
37.PNG

asultanov
8 - Asteroid
Spoiler
Screenshot 2024-01-30 115938.png
snbandi
8 - Asteroid

My solution

Raj
15 - Aurora

Solved!