Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #336
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: file parsing |
| Date | 2011-12-18 09:57 +0000 |
| Organization | Dis (not Dat) Organisation |
| Message-ID | <jckdev$orl$1@reversiblemaps.ath.cx> (permalink) |
| References | <jc8h3u$98o$1@dont-email.me> |
On 2011-12-13, Bill M <wpmccormick@just_about_everywhere.com> wrote: > Hi, > > I'm running Debian Squeeze. I'm looking to not re-invent the wheel to > parse typical config and xml files. > Is there some standard lib for config file parsing? atleast two: > It appears that I have libxml2 for xml file parsing, that's one! there's another lightweight one for parsing config files and there's gnome-config which is ultimately XML based. > but I don't seem to have/can't seem to find any useful > documentation for it. xmlsoft.org is the only libxml2 documentation I know of. it's all there if you can find it. libxml2 is sort of a swiss-army-knife, half the problem is picking the correct "blade". > Should I be using the libxml2 package or is > another recommendation? Where can I get docs? if you're targeting gnome and don't want to reinvent the wheel gnome-config is probably the way to go, http://developer.gnome.org/libgnome/stable/libgnome-gnome-config.html (it's pretty kick-arse: applications can detect config changes in real-time etc...) there's also this: http://developer.gnome.org/glib/stable/glib-Simple-XML-Subset-Parser.html which AIUI only uses libglib which is the lowest level gnome/gtk library. -- ⚂⚃ 100% natural --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Find similar
file parsing Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-13 15:46 -0600
Re: file parsing Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-13 22:38 +0000
Re: file parsing Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-13 16:43 -0600
Re: file parsing Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-13 22:56 +0000
Re: file parsing David Brown <david@westcontrol.removethisbit.com> - 2011-12-14 08:48 +0100
Re: file parsing Jasen Betts <jasen@xnet.co.nz> - 2011-12-18 09:57 +0000
csiph-web