[lxml-dev] About lxml Target parser

qhlonline qhlonline at 163.com
Thu Jul 16 15:31:10 CEST 2009


Hi ,all
   I have read part of the source file Saxparser.pxi, May be the two classes named _SaxParserTarget and _SaxParserContext have close relationship with Target Parser. A function _handleSaxData has been defined to deal with HTML data part. But why the data returned is only the text part between tags? I wan't to know how much characters of the HTML file have been parsed with the target parser, when a "start_element" event comes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20090716/41226d05/attachment.htm 


More information about the lxml-dev mailing list