Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAMy solution 🙂 (note: my final output doesn't match the solution exactly because the solution contains whitespace)
My Solution
Same core strategy as the posted solution, seperating shipping info from billing info and parsing seperately but I ended up taking a much longer way around, parsing each child by name distinctly.
This was my first time with XML parsing so I was unaware you could get there using the the root>outer xml configuration.
Nice learning experience.