From: Christophe de V. <cde...@al...> - 2004-05-23 21:55:21
*** libxml++
libxml++ is a C++ wrapper for the libxml XML parser library. It has SAX
and DOM-like APIs, but does not attempt to conform exactly to the DOM
specifications because they are not aimed at C++. Its API is much
simpler than the underlying libxml C API.
*** Homepage
http://libxmlplusplus.sourceforge.net/
*** Notes
This release only fixes the distribution tarball.
*** Changes
* Fixed the dist tarball.
*** Download
You can download libxml++ 1.0.4 from gnome servers:
http://ftp.gnome.org/pub/GNOME/sources/libxml++/1.0/
Best Regards,
Christophe de Vienne
Hello,
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?
Thank you all
Xavier
From: Christophe de V. <cde...@al...> - 2004-05-25 07:57:09
Hi,
LARRODE Xavier (DR&T) a =E9crit :
>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
>
There is not direct solution in the libxml++ API, but libxml2 provides=20
getColumnNumber:=20
http://www.xmlsoft.org/html/libxml-SAX.html#getColumnNumber which should=20
do what you want.
Note that this is a SAX1 function, since the stable versions of libxml++=20
use it. The future one should use SAX2.
Regards,
Christophe
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
Ok, thank you very much Christophe.
I'm goint to check all of this, soon
=20
On Tue, 2004-05-25 at 10:04, Christophe de VIENNE wrote:
> LARRODE Xavier (DR&T) a =E9crit :
>=20
> >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
> >
>=20
> Hi again,
>=20
> 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_1=
SaxParser.html#a5
> and=20
> http://libxmlplusplus.sourceforge.net/reference/2.6/html/classxmlpp_1_1=
SaxParser.html#a6.
>=20
> Christophe
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g=
.=20
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id149&alloc_id=8166&op=3Dclick
> _______________________________________________
> Libxmlplusplus-general mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general