Re: Glib::KeyFile bug?
- From: Murray Cumming <murrayc murrayc com>
- To: Holger Berndt <berndth gmx de>
- Cc: gtkmm-list gnome org
- Subject: Re: Glib::KeyFile bug?
- Date: Tue, 24 Jun 2008 10:13:28 +0200
On Tue, 2008-06-24 at 09:47 +0200, Holger Berndt wrote:
> Robert Pearce schrieb:
> > On Mon, 23 Jun 2008 09:14:39 -0400 Damon Register wrote:
> >> All of the xml examples I found just read the entire file and print
> >> the results. Do the xml methods not really support the random
> >> access as does the Glib::KeyFile::get_string ?
> >
> > If you want to do random access of "XML" data, you first need to define
> > what the structure of that data really is, then define some suitable
> > equivalent representation in your language of choice.
>
> On a side note: Random access to parts of an xml document is possible
> with the XPath language. Some xml parsers (like libxml2) implement that
> language.
I think you would use xmlpp::Node::find() for that, after learning about
the XPath syntax.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]