| Graham Dumpleton 
    grahamd at dscpl.com.au Mon Apr 17 17:17:20 EDT 2006 
 
On 18/04/2006, at 4:57 AM, Nick wrote:
> As an example to follow up on this, in your XSLT parser, you would  
> have:
>
>     for streamlet in filter:
>         filter.req.passes += 1
>         streambuffer.write(streamlet.replace('\r\n', '\n'))
>
>     ("if streamlet is None" is not required at this point)
You still possibly need to know when None was read, as you still need  
to call
close() on the filter.
Graham
 |