V
Vikash Kumar
I am working on windows environment, in my code I am using,
require 'http-access2'
client = HTTPAccess2::Client.new
url="http://www.elliottbaybook.com/..."
parser = HTMLTree::XMLParser.new(false,false)
parser.feed(client.getContent(url))
xml=parser.document
When I run the code it gives the following error message:
uninitialized constant HTMLTree (NameError)
require 'http-access2'
client = HTTPAccess2::Client.new
url="http://www.elliottbaybook.com/..."
parser = HTMLTree::XMLParser.new(false,false)
parser.feed(client.getContent(url))
xml=parser.document
When I run the code it gives the following error message:
uninitialized constant HTMLTree (NameError)