Taco Hoekwater <taco <at> elvenkind.com> writes: > Bruce D'Arcus wrote: > > Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes: > > > >> Am 31.03.2009 um 09:27 schrieb Taco Hoekwater: > >> > >>>> Will this new module also provide BibX support? > >>> Perhaps ;) > >>> > >>> On the input side, the new module will load bibliographies from disk > >>> into an internal XML structure and then use lpath queries to fetch > >>> bibliographic data. It will use separate loaders to do so, so in > >>> the end, anything can be plugged in as long as it can be converted > >>> to the internal structure. > >> Why not just a lua table to save the data? > > > > Yes, I was wondering the same thing. This is typically how the various CSL > > implementations work; parse the input data (XML, RDF, BibTeX, etc.) into > > some > > internal structure. > > I was't clear enough. "internal XML structure" actually is a lua > table structure. It just follows a bunch of special rules that > make lpath queries work.
So it's a native Lua mapping of an XML model? E.g. something like, say, element tree provides for Python? Does that suggest that the input data is always XML? Bruce PS - Frank Bennett has been doing a lot of promising work on a rewrite of Zotero's javscript-based CSL processor: <http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/citeproc-js/trunk/>. ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : email@example.com / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________