P
Peter Kemp
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:ocument.new(data)
any help would be great
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:ocument.new(data)
any help would be great