|
From: Ali A. <ali...@au...> - 2000-12-01 07:03:24
|
* Greg Ferguson (gf...@ho...) wrote at 02:57 on 01/12/00: > On Nov 30, 10:08am, Laszlo Kovacs wrote: > > Subject: Re: [Scrollkeeper-devel] questions, questions > > > On Wed, Nov 29, 2000 at 09:59:55PM -0200, Ali Abdin wrote: > > > ... > > > You just contradicted yourself and confused me. If the XML is a purely > > > internal data structure, why is Nautilus reading it? > > > > The way how it works is that XML files are exported from Scrollkeeper > > to the browser. The main Content List (where every entry is a different > > doc), the TOCs of each doc and the combination of the two (called the > > Extended Content List) are all XML files. Apart from that everything Ali > > wrote is valid (about the availability of the XML parsers on various > > platforms, Gnome, Nautilus etc). > > Does the browser receive a ptr to the contents of the file, > ptr to the filename, ptr to an internal XML-based data struct, > or something else? > > Or put a different way - is there a spec available for the public API? Right now there is no library at all. You have to manually locate and parse the file ;) The project is still at 0.0.1 for a reason. Perhaps when there is a library we can have functions to get the ptr to the filename and a function to return the "internal XML-based data struct" (a.k.a xmlDocPtr) You could perhaps also recieve document "fragments" (xmlNodePtr?) Regards, Ali |