Compatibility
Lodel and TEI schema
Lodel websites must use one of the editorial models compatible with the TEI schema to import documents. The editorial model contains XPath used by the TEI parser of Lodel to fill the database. It is imperative to monitor the compatibility of the versions between the editorial model and the schema.
To import text document (doc, docx, odt) you must use the OTX version compatible with the TEI schema.
Version compatibility
OpenEdition TEI |
OJ Editorial model |
OTX |
|---|---|---|
1.6.4 |
1.0.3 |
v1.2.0 |
1.6.3 |
1.0.2 |
v1.2.0 |
1.6.2 |
1.0.2 |
v1.2.0 |
1.6.1 |
1.0.0 |
v1.1.2 |
OpenEdition Journals editorial model : https://github.com/OpenEdition/oej.em/releases
Usage of TEI elements
The following tables presents the possibilities of using the elements of the OpenEdition schema for:
the import of documents on OpenEdition Journals (Import OJ);
documents exported in TEI OpenEdition format (OJ Export).
The documents exported in TEI OpenEdition format are use for the following purposes:
Re-publication on another platform;
Text and Data Mining;
Long-term archiving.
Caption:
✓ : element is allowed
- : element is not allowed
X.X.X+: element is allowed from the X.X.X version of OpenEdition TEI schema
X.X.X-: element is allowed up to the X.X.X version of OpenEdition TEI schema
fileDesc
titleStmt
/TEI/teiHeader/fileDesc/titleStmt/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
title[@type=’main’] |
✓ |
✓ |
title[@type=’sub’] |
✓ |
✓ |
title[@type=’sup’] |
✓ |
✓ |
title[@type=’alt’ and @xml:lang] [1] |
✓ |
✓ |
author |
✓ |
✓ |
editor[@role=’translator’] |
✓ |
✓ |
editor[not(@role)] |
✓ |
✓ |
editor[@role=’excavationsdirector’] |
EM archeo [2] |
✓ |
editor[@role=’collaborator’] |
EM archeo [2] |
✓ |
publicationStmt
/TEI/teiHeader/fileDesc/publicationStmt/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
date |
✓ |
✓ |
publisher |
- |
✓ |
distributor |
- |
1.6.1+ |
idno[@type=’documentnumber’] |
✓ |
✓ |
idno[@type=’url’] |
- |
✓ |
idno[@type=’doi’] |
- |
1.6.1+ |
availability |
✓ |
✓ |
sourceDesc/biblStruct
analytic
/TEI/teiHeader/fileDesc/sourceDesc/biblStruct/analytic/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
title[@type=’main’] |
- |
1.6.1+ |
title[@type=’sup’] |
- |
1.6.1+ |
title[@type=’sub’] |
- |
1.6.1+ |
title[@type=’alt’] |
- |
1.6.1+ |
author |
- |
1.6.1+ |
editor[@role=’translator’] |
- |
1.6.1+ |
editor[not(@role)] |
- |
1.6.1+ |
editor[@role=’excavationsdirector’] |
- |
1.6.1+ |
editor[@role=’collaborator’] |
- |
1.6.1+ |
monogr
/TEI/teiHeader/fileDesc/sourceDesc/biblStruct/monogr/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
title[@level] |
- |
1.6.1+ |
title[@leveland @type] |
- |
1.6.1+ |
idno[@type] |
- |
1.6.1+ |
idno[@type and @subtype] |
- |
1.6.1+ |
imprint/biblScope[@unit=’issue’] |
- |
1.6.1+ |
imprint/publisher |
- |
1.6.1+ |
imprint/biblScope[@unit=’page’] |
1.6.2+ |
1.6.1+ |
imprint/date[@type=’published’] |
1.6.2+ |
1.6.1+ |
series
/TEI/teiHeader/fileDesc/sourceDesc/biblStruct/series/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
tei-teiHeader-biblStruct-series |
||
title[@level] |
- |
1.6.1+ |
title[@leveland @type] |
- |
1.6.1+ |
idno[@type] |
- |
1.6.1+ |
encodingDesc
profileDesc
/TEI/teiHeader/profileDesc/ |
langUsage/language
Element |
Import OJ |
Export OJ |
|---|---|---|
langUsage/language |
✓ |
✓ |
textClass/keywords
/TEI/teiHeader/profileDesc/textClass/keywords/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
[@scheme=’keyword’ and xml:lang] [1] |
✓ |
✓ |
[@scheme=’geographical’] |
✓ |
✓ |
[@scheme=’chronological’] |
✓ |
✓ |
[@scheme=’subject’] |
✓ |
✓ |
[@scheme=’personcited’] |
some EM [3] |
- |
text
front
/TEI/text/front/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
div[@type=’abstract’ and @xml:lang] [1] |
✓ |
✓ |
div[@type=’review’]/p[@rend=’review-title’] |
✓ |
✓ |
div[@type=’review’]/p[@rend=’review-author’] |
✓ |
✓ |
div[@type=’review’]/p[@rend=’review-bibliography’] |
✓ |
✓ |
div[@type=’review’]/p[@rend=’review-date’] |
✓ |
✓ |
div[@type=’correction’]/p |
✓ |
✓ |
div[@type=’dedication’]/p |
✓ |
✓ |
div[@type=’ack’]/tei:p |
✓ |
✓ |
note[@type=’author’]/p |
1.6.2+ |
1.6.1+ |
note[@type=’publisher’]/p |
1.6.2+ |
1.6.1+ |
body
/TEI/text/body/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
div |
✓ |
✓ |
head[@subtype=’leveln’] |
✓ |
✓ |
note[@place=’foot’ and @n]/p |
✓ |
✓ |
note[@place=’end’ and @n]/p |
✓ |
✓ |
hi[@rend] [4] |
✓ |
✓ |
q[@rend=’quotation’] |
✓ |
✓ |
q[@rend=’quotation2’] |
✓ |
✓ |
q[@rend=’quotation3’] |
✓ |
✓ |
p[@rend=’answer’] |
✓ |
✓ |
p[@rend=’noindent’] |
✓ |
✓ |
p[@rend=’box’] |
✓ |
✓ |
p[@rend=’epigraph’] |
✓ |
✓ |
p[@rend=’break’] |
✓ |
✓ |
list[@type=’unordered’]/item |
✓ |
✓ |
list[@type=’ordered’]/item |
✓ |
✓ |
table |
✓ |
✓ |
row |
✓ |
✓ |
cell[@rows and @cols] |
✓ |
✓ |
ref[@target] |
✓ |
✓ |
p/figure/graphic[@url] |
✓ |
✓ |
p[@rend=’figure-title’] |
✓ |
✓ |
p[@rend=’figure-legend’] |
✓ |
✓ |
p[@rend=’figure-license’] |
✓ |
✓ |
formula[@notation=’latex’] [5] |
✓ |
✓ |
code[@lang] |
✓ |
✓ |
quote[@type and @n]/quote |
✓ |
✓ |
quote[@type and @n]/seg |
✓ |
✓ |
quote[@type and @n]/bibl |
✓ |
✓ |
quote[@type and @n]/gloss |
✓ |
- |
back
/TEI/text/back/ |
Element |
Import OJ |
Export OJ |
|---|---|---|
div[@type=’bibliography’]/listBibl |
✓ |
✓ |
div[@type=’bibliography’]/listBibl/bibl |
✓ |
✓ |
div[@type=’bibliography’]/listBibl/head[@subtype=’leveln’] |
✓ |
✓ |
div[@type=’appendix’] |
✓ |
✓ |
the attribute xml:lang must be given in ISO 639-1 format.
Some archaeological journals have an “archeo” editorial model that provides additional elements to the generic editorial model.
Some journals or publishers use an editorial model that contains additional elements in addition to the generic editorial model.
allowed values for the attribute ‘rend’ of the element <hi>: italic, bold, sup, sub, uppercase, small-caps, underline.
Some sites use MathJax to display LaTeX formulas in the browser.