SAML and Ruby: Parsing federation metadata

When working with multiple IdPs, parsing metadata files is not performant via the ruby-saml gem - but there is a better way with Nokogiri.