I think `Nokogiri::XML(open())` works for both opening a local file and reading remote file.