Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEASam
I reverse-engineered from the answer.
Copied the html into notepad++ for better formatting. all relevant tags, <h3>-<h5> are within <li> tag
It took me a while to figured out to "ignore the XML error and continue".
After parsing the practice <h5> tag, there were some duplications as compared to <h3> and <h4> tag. Indicating one to many relationship, so aggregation was needed.
learnt a very nice trick of regex through this challenge 🙂