From: "Sebastian (syepes)" Date: 2008-12-12T02:27:42+09:00 Subject: Re: Problem parseing a XML - PullParser Luc Heinrich wrote: > On 11 d�c. 08, at 11:26, Sebastian (syepes) wrote: > >> The real problem is that the function: ex_listener, processes the XML >> "line by line" because i can't detect a EOF from the IO.popen and it >> will always be waiting (open) for the next change "xml stream". > > Right, but since you control the parser state you know exactly when > and where the document starts and when and where it ends, so you > should be able to close the connection by yourself. Ok i get the point, but i don't see how to detect the EOF (Without using some ugly code) and pass the hole *xml to the Parser. Any examples please. Thanks fro the help. -- Posted via http://www.ruby-forum.com/.