Weekly Challenge

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #195: XML Parsing

Highlighted
8 - Asteroid

Solved!

 

Spoiler
nivi_s_0-1577150275041.png
Highlighted
Alteryx
Alteryx

 

Have to admit that i hate XML parsing.  But if I have to, I tend to use Python  / ElementTree over Designer's XML parser.   Anyone else feel its time for a tool update?  Add Tag and attribute Searching?  Apply transformers?  Better support of HTML as child values?

Spoiler
Snag_40646416.png

 

Snag_405d221e.png

Highlighted
Alteryx Certified Partner
Spoiler
キャプチャ.JPG

Quickly done after learning from the example of the XML parse tool. Very useful one!!  

Highlighted
8 - Asteroid

Happy Christmas!

 

My Solution - a slightly more long winded verson of rmassambane's solution

 

Spoiler
JamesCameron_0-1577175379368.png
Highlighted
10 - Fireball
 
Highlighted
8 - Asteroid

My Solution

Highlighted
8 - Asteroid

Decided on the RegEx Approach

Spoiler
AndyBate_0-1577192528312.png
Highlighted
Alteryx Certified Partner

I still find myself writing down the structure of an XML on paper before even considering parsing it. After understanding the structure t becomes so much easier.

Spoiler
195.jpg
Highlighted
6 - Meteoroid

Here's my results. Long solutions but works

 

 

Spoiler

Challenge195 XML Parsing.JPG

Challenge195 XML Parsing.JPG

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Nice 🙂

 

Spoiler
Untitled.png