CodeSharing Icon


CodeSharing: a simple API for disseminating our TEI encoding

Add a Review
2 Downloads (This Week)
Last Update:
Browse All Files



The CodeSharing project includes two components:

1. A protocol through which any repository containing documents encoded in TEI XML (or any other schema) may make examples of XML encoding available to any harvesting tool, or, through a form-based interface, to anyone interested in examining the encoding practices.

2. A sample implementation of the protocol based on XQuery 3.0 and XSLT 2.0, designed to run in the eXist XML database.

The idea is to provide straightforward access both for applications and end-users to sample code from any XML encoding project. The API is modelled on the Open Archives Inititative Protocol for Metadata Harvesting (OAI-PMH), a mechanism designed to allow archival search tools to ingest metadata from repositories.

The purpose is to help novice encoders, encourage sharing of encoding practices across projects, and provide opportunities for automated processing of encoding examples.

CodeSharing Web Site



Write a Review

User Reviews

Be the first to post a review of CodeSharing!

Additional Project Details


Screenshots can attract more users to your project.
Features can attract more users to your project.