Transforms
- Encoded Archival Description (EAD) 2002 XML format into
- Records in Contexts Ontology 0.2 RDF/XML with the
- XML Stylesheet Language Transformation (XSLT) 1.0.
- Use the stylesheet ead2rico.xsl, which imports all relevant sub-stylesheets.
- Use the stylesheet process-ead-in-oai-envelope.xsl if you extract your data with OAI-PMH, and want to process the raw OAI-response.
The stylesheets are intended to work with any XSLT 1.0 engine.
- Saxon
- libxml2
- The EAD-XML file must refer to the namespace of EAD.
- /ead:ead/ead:archdesc/ead:did/ead:unitid exists, with:
- identifier of the archive as content
- @repositorycode for the repository
The file mapping.md gives an overview of all EAD-elements and in which imported sub-stylesheet the element is transformed.
Not all elements are implemented yet, especially the difficult but important mixed-content elements (inline, names) need attention.
Part of this work was commissioned and paid for by:
- Amsterdam City Archives
- International Institute of Social History (Amsterdam)
Ideas and corrections are made in interaction with:
- Triply (Amsterdam)
- Rijksmuseum (Amsterdam)