On Sat, 23 Aug 2003 00:05:38 +0200, Wojtek Surowka wrote: > I've just uploaded the preliminary version of my XML library to Yahoo files > section as xml_library.zip. Comments are welcome.
As an exercice and to evaluate your API, I wrote read_iterator using the
XmlReader API of libxml (see the attachment).
Shoudn't the attributes stored in a map instead of vector?
I fixed begin() like this:
MyType begin() const
{
assert(impl);
if ( impl->p_body )
{
return *impl->p_body;
}
else
{
return MyType();
}
}
bacause it was 'asserting' on empty elements.
Well, I find the API quite good, and realy better than the sax one.
C�dric.
xml_read_iterator_libxml.hpp
Description: Attached file: xml_read_iterator_libxml.hpp
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
