# File lib/nokogiri/xml/node.rb, line 857 def <=> other return nil unless other.is_a?(Nokogiri::XML::Node) return nil unless document == other.document compare other end