From: Christophe de V. <cde...@al...> - 2004-05-25 08:02:26
|
LARRODE Xavier (DR&T) a =E9crit : >Hello,=20 >i would like to add a progress bar in my parser (i 'm using a SAX >parser), and my question is ... if we can get the (relative) position of >the stream in octect or in percentage of the file? > =20 > Hi again, I just though of a pure libxml++ solution which would be to use=20 parse_chunck and then calculate the progression before giving each=20 chunck of data to the parser. cf=20 http://libxmlplusplus.sourceforge.net/reference/2.6/html/classxmlpp_1_1Sa= xParser.html#a5=20 and=20 http://libxmlplusplus.sourceforge.net/reference/2.6/html/classxmlpp_1_1Sa= xParser.html#a6. Christophe |