In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Atanas Atanasov
In such cases always check GLib. This is most probably the most useful library ever written. If you check the GLib Utilities section of http://developer.gnome.org/doc/API/2.0/glib/index.html you will find there is a simple XML (a subset actually) parser (see http://developer.gnome.org/doc/API/2.0/g

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Ricardo Malafaia
man, you are with luck. GLib -- which is a base library for GTK+ -- comes with a simple but easy parser for a subset of XML: http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html#GMarkupParser should be enough to handle config files... On 6/22/06, yeajchao <[EMAIL PROTE

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Vladislav Grinchenko
libxml2 is a full-featured XML parser library. -Vlad On Thu, 2006-06-22 at 18:48 +0800, yeajchao wrote: > Hello everybody > First,I apologize for my terrible English. > My application is developed by gtk+,and the application need a config > file > for startup initialization.The config

Re: In gtk+ application,how to parse xml file

2006-06-23 Thread Gnaural
Here is a link to an example illustrating how to implement GMarkupParser (the simple XML parser most of the other replies referred to): http://www.koders.com/c/fid583B8029A0A2E99A959C4ACF977606E6EA7B0669.aspx ___ gtk-app-devel-list mailing list gtk-a