Re: [E-devel] About eina_simple_xml_parse

2012-12-19 Thread Gustavo Sverzut Barbieri
On Wed, Dec 19, 2012 at 2:44 AM, thomasg tho...@gstaedtner.net wrote: On Wed, Dec 19, 2012 at 5:18 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wednesday, December 19, 2012, thomasg wrote: On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri

Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread Gustavo Sverzut Barbieri
Hi Thomas, The standard way is pretty fast and lean, but it is a SAX-like parser. That mean you only get tokens, for the tags you need to call yet another function to split the tag and arguments. It is good enough to parse svg, as done by Esvg. Should be also enough to parse config files and

Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread thomasg
On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Hi Thomas, The standard way is pretty fast and lean, but it is a SAX-like parser. That mean you only get tokens, for the tags you need to call yet another function to split the tag and arguments. It

Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread Gustavo Sverzut Barbieri
On Wednesday, December 19, 2012, thomasg wrote: On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi javascript:; wrote: Hi Thomas, The standard way is pretty fast and lean, but it is a SAX-like parser. That mean you only get tokens, for the tags you need

Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread thomasg
On Wed, Dec 19, 2012 at 5:18 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wednesday, December 19, 2012, thomasg wrote: On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi javascript:; wrote: Hi Thomas, The standard way is pretty