From: Szymon Rozga Date: 2005-08-09T12:11:08+09:00 Subject: Re: Loading XML file from web This is pretty much straight from the documentation of Net::HTTP require 'net/http' Net::HTTP.start('www.digg.com', 80) { |http| response = http.get('rss/index.xml') response.body # this is the text of www.digg.com/rss/index.xml } so simply now create an instance of Document with the text response.body (I haven't tried this out myself, but should work)