Hunter Walker wrote:
> Thank you, James.  I got a step further, but still need help.
> 
> This code outputs exactly what I want to see to the debug window:
> 
> require 'open-uri'
> require "rexml/document"
> include REXML
> 
> 
> url = "http://clinicaltrials.gov/show/NCT00001372?displayxml=true"
> 
> open(url) { |page| print page.read() }

require 'open-uri'
require "rexml/document"
include REXML


url = "http://clinicaltrials.gov/show/NCT00001372?displayxml=true"

xml = open(url).read
p xml

doc = REXML::Document.new(xml)

p doc.root.name


-- 
James Britt

"I never dispute another person's delusions, just their facts."
   - Len Bullard