Formatting Bibliographies in XML: Style Specs
Posted in Uncategorized on February 18th, 2004 by darcusb – Comments OffI just posted this to the BiblioX list, and will do so here in case anyone has thoughts on this. It is based on the ideas laid out in this document.
This is an alternative to the current BibliX spec, an example of which is here. My belief is that by moving some of the logic for genres and names out of the main layout definition, there’s no need for anything beyond three or four definitions there.
When we think of this stuff, I think we need to keep in mind a use scenario. Let’s imagine:
- style file created by a life scientist (who only cites journal articles and, say, proceedings)
- style file downloaded by someone at the border of the social sciences and humanities like me, who may cite everything from articles to legal documents to speeches, to media sources
- imagine neither of these people have any deep knowledge of bibliographic theory and practice.
My contention is that modifying the style spec along the lines I am suggesting – perhaps along with a GUI or script interface – makes this workable. The layout information is generic, so that there is no need to explicitly define templates for every kind of resource. If our hypothetical humanities scholar downloads the stylefile created by our life scientist, the only change they might need to make is to add a few genre terms to get them to render.
Thoughts?
Note: this example is stripped-down and schematic; it is not a complete design.
<style>
<names>
<roles>
<!-- this just says, "if you have a name with this role, here
is how you handle it"; otherwise leave alone -->
<creator>
<editor>
<single>Ed.</single>
<multiple>Eds.</multiple>
</editor>
</creator>
<contributor>
<translator>
<single>Tran.</single>
<multiple>Trans.</multiple>
</translator>
</contributor>
</roles>
</names>
<genre-terms>
<!-- this works the same as name roles; if listed here, the genre
term is printed as defined; otherwise not -->
<thesis type="MA">MA Thesis</thesis>
<memo>memorandum</memo>
<speech>speech</speech>
</genre-terms>
<layout>
<object>
<creator/>
<year beforesep="(" aftersep=")"/>
<title/>
<origin beforesep="(" aftersep=")">
<publisher/>
<place/>
</origin>
<contributor/>
<genre/>
<location/>
</object>
<part>
<creator/>
<year beforesep="(" aftersep=")"/>
<title beforesep="“" aftersep="”"/>
<container beforesep="In ">
<creator/>
<title/>
<origin beforesep="(" aftersep=")">
<publisher/>
<place/>
</origin>
<genre/>
<location/>
</container>
</part>
</layout>
</style>


Creative Commons License