From: Vikash Kumar Date: 2006-11-06T20:11:22+09:00 Subject: Re: uninitialized constant HTMLTree (NameError) Vikash Kumar wrote: > 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) The above error is resolved by adding require 'html/tree', but a new error is coming uninitialized constant HTMLTree::XMLParser (NameError) -- Posted via http://www.ruby-forum.com/.