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 practises.
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.
Be the first to post a review of CodeSharing!