Citation Format

From EPrints Documentation
Revision as of 11:39, 9 January 2007 by WikiSysop (Talk | contribs)

Jump to: navigation, search

The citation format files, located in the repository's citations directory, describe how citations for documents, eprints, and users should be rendered. The name of the directories reflect the name of the dataset, with the filename within the directory (e.g. brief.xml) identifying the name of the citation style.

<cite:citation xmlns="" 
  <cite:linkhere><span class="ep_document_citation"><epc:print expr='format'/><epc:if test="formatdesc"> 

<epc:print expr="formatdesc"/>)</epc:if></span></cite:linkhere>


Two tags are provided under the citation namespace: cite:citation and cite:linkhere. The former is the root element of the file, and contains the body of the citation as well as any required namespaces. The latter surrounds one or many elements, and renders the content as a link to the item.