From: "Sebastian (syepes)" Date: 2008-12-10T22:35:02+09:00 Subject: Re: Problem parseing a XML - PullParser Luc Heinrich wrote: > On 9 d�c. 08, at 21:17, Sebastian (syepes) wrote: > >> @parser = REXML::Parsers::PullParser.new(raw_xml) > > You instantiate a *new* pull parser for *each* line, so the state is > obviously lost after each line and when you feed the last parser with > it naturally complains because it doesn't know what you're > talking about :) Mmm, so is there a way to "parse* each line of the XML independently, and is it posible with the PullParser library? -- while (line = ios.gets) *parse_line_of_xml(line)* end -- Regards, -- Posted via http://www.ruby-forum.com/.