On 11 d. 08, at 18:27, Sebastian (syepes) wrote:

> 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.

I'm still not exactly sure of your exact context, but you don't have  
to detect the EOF, just parse and when you reach the end of the  
document close the pipe yourself on your end.

-- 
Luc Heinrich - luc / honk-honk.com