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
Alteryx Certified Partner

Interesting with an XML challenge, all though I used to love XML, I can really see why JSON has picked up as the "new standard".

 

I not sure me and the XML parser in Alteryx is going to be BFF's - simply miss my old ability to use XPath, and I almost ditched it completely and was about to do it all in RegEx, but then it wouldn't really have been a challenge

 

Spoiler
So here it is, first I fetch the <taxonpath> nodes. From there I split out and find the <source> node, and the <entry> node, and then I join those two together again.
Not the prettiest, but it did work
2020-01-02 22_53_30-Window.png

 

Still Climbing
/Verakso

Highlighted
Alteryx Certified Partner

Here my solution.

 

carlosteixeira2005_0-1578059972527.png

Best regards

Highlighted
11 - Bolide

Can't wait to see what everyone else did! This was a great intro to XML parsing for me.

Spoiler
Challenge195-KA.PNG
Highlighted
Alteryx Partner
Spoiler
195.png
Highlighted
Alteryx Certified Partner

Here is my solution !

Highlighted
8 - Asteroid

Had to refer to provided solution. But it was overall a good learning challenge.

Spoiler
Spoiler:195_workflow.JPG
Highlighted
17 - Castor
17 - Castor

Fun.  But I had to look at the structure in Notepad++ to find the elements that I was interested in

 

Spoiler
w.png

Dan

Highlighted
8 - Asteroid

Here is my solution

Highlighted
14 - Magnetar
14 - Magnetar
Spoiler
Not going to lie.. I'm not really sure how I got the result. I just kept adding tools and guessed as I went along based on the output of the previous tool. I will have to go back and review to make sure I understand why this works.

Capture.PNG

Highlighted
Alteryx Partner

Good to get another parsing challenge completed