Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #336
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!news.neu.edu.cn!newsgate.cuhk.edu.hk!news.netfront.net!reversiblemaps.ath.cx!not-for-mail |
|---|---|
| From | Jasen Betts <jasen@xnet.co.nz> |
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: file parsing |
| Date | 18 Dec 2011 09:57:51 GMT |
| Organization | Dis (not Dat) Organisation |
| Lines | 43 |
| Message-ID | <jckdev$orl$1@reversiblemaps.ath.cx> (permalink) |
| References | <jc8h3u$98o$1@dont-email.me> |
| NNTP-Posting-Host | 118.90.123.101 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | adenine.netfront.net 1324202448 18347 118.90.123.101 (18 Dec 2011 10:00:48 GMT) |
| X-Complaints-To | news@netfront.net |
| NNTP-Posting-Date | Sun, 18 Dec 2011 10:00:48 +0000 (UTC) |
| X-Face | ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ |
| User-Agent | slrn/pre1.0.0-18 (Linux) |
| Xref | x330-a1.tempe.blueboxinc.net comp.os.linux.development.apps:336 |
Show key headers only | View raw
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