paring xml like a boss