Hmm maybe.  

There's either node['type'] or node.attributes['type']. This PR doesn't attempt to solve why there are discrepancies in the two versions of nokogiri. It's just a quick hack to allow it to work the latest version of nokogiri.

The current version Rbvmomi can support actually has a (CVE)[https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/OSVDB-101458.yml] against it, so the quicker this can be merged the better.