Hello Sara,

Zotero imports and exports BibTeX and exports to TEI biblStruct <http://wiki.tei-c.org/index.php/TEIZoteroTranslator>. I haven't used these filters myself, but they might be worthwhile checking out.

Irony would have it that Zotero's Citation Style Language (CSL), now running on Javascript, originally used XSLT, which would have made it easy to plug into eXist-db.

Otherwise, once the data is converted, I think a standard typeswitch will take care of HTML formatting. I will be working on related code and can share it with you.

I think Joe's "An introduction to XML databases" (<http://digital.humanities.ox.ac.uk/dhoxss/2011/sessions.html>, at the bottom) is still the best introduction to using TEI with eXist-db (though I don't think there is anything on bibliographies there). The work files can still be downloaded.

Jens


On 18 Mar 2014 at 14:02:28, Sara L. Uckelman (sara.uckelman@asia-europe.uni-heidelberg.de) wrote:

On 03/18/2014 01:40 PM, Martin Holmes wrote:
> You might want to take a look at the Zotero project, and specifically
> its Translators, which are designed to convert bibliographic references
> between various formats:
>
> <https://www.zotero.org/support/dev/translators>

Thanks! I figured this was the sort of thing that had to already exist.

> This is a notoriously difficult area, though. How is your source
> information encoded in TEI? Do you have <biblStruct>s, <bibl>s,
> <biblFull>s or full <teiHeader>s as a starting point?

Right now, it's not encoded at all -- or rather, the majority of it is
in bibtex and needs to be encoded in TEI. (Which is why I'd love it if
there were a bibtex -> TEI converter too. :) )

-Sara


--
Dr. Sara L. Uckelman
Cluster of Excellence "Asia and Europe in a Global Context"
Karl Jaspers Centre for Advanced Transcultural Studies
Ruprecht-Karls Universit├Ąt Heidelberg
http://www.rzuser.uni-heidelberg.de/~suckelma/
http://dmnes.wordpress.com/


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
eXist-TEIXML mailing list
eXist-TEIXML@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-teixml