Hi all,

Im trying to retrieve an xml document from a website but all i get is
the html

I know their is a way to get this same page via xml

require 'net/http'
require "rexml/document"

url =
'http://jira.atlassian.com/secure/BrowseProjects.jspa?=&os_username=soaptester&os_password=soaptester'
resp = Net::HTTP.get_response(URI.parse(url))
data = resp.body
puts(data)

doc = REXML::Document.new(data)

any help would be great

-- 
Posted via http://www.ruby-forum.com/.