Re: [XML-SIG] lxml iterparse and comments

2008-03-26 Thread Stuart McGraw
Stefan Behnel wrote: [...re adding comment and pi events to iterparse...] > Implemented on the trunk, will be in lxml 2.1. Thanks. [... re missing callbacks from target parser...] > I can reproduce that. Seems to require an entity reference in the data, > though. I'll look into it. [and(from lxml

Re: [XML-SIG] lxml iterparse and comments

2008-03-25 Thread Stefan Behnel
Hi, Stuart McGraw wrote: >> Stuart McGraw wrote: >> > I am probably mising something elementary (I am new >> > to both xml and lxml), but I am having problems figuring >> > out how to get comments when using lxml's iterparse(). >> > When I parse xml with parse() and iterate though the >> > result,

Re: [XML-SIG] lxml iterparse and comments

2008-03-24 Thread Stuart McGraw
Hello Stefan, Thanks for your response. > Stuart McGraw wrote: > > I am probably mising something elementary (I am new > > to both xml and lxml), but I am having problems figuring > > out how to get comments when using lxml's iterparse(). > > When I parse xml with parse() and iterate though the >

Re: [XML-SIG] lxml iterparse and comments

2008-03-24 Thread Stefan Behnel
Hi, Stuart McGraw wrote: > I am probably mising something elementary (I am new > to both xml and lxml), but I am having problems figuring > out how to get comments when using lxml's iterparse(). > When I parse xml with parse() and iterate though the > result, I get the comments. But when I tr

[XML-SIG] lxml iterparse and comments

2008-03-23 Thread Stuart McGraw
Hello, I am probably mising something elementary (I am new to both xml and lxml), but I am having problems figuring out how to get comments when using lxml's iterparse(). When I parse xml with parse() and iterate though the result, I get the comments. But when I try to do the same thing (appr