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

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

1.1.1.1   titles, subtitles, overtitles, translated titles

title[@type=’main’]

✓

✓

title[@type=’sub’]

✓

✓

title[@type=’sup’]

✓

✓

title[@type=’alt’ and @xml:lang] [1]

✓

✓

1.1.1.2   Authors, editors, translators

author

✓

✓

editor[@role=’translator’]

✓

✓

editor[not(@role)]

✓

✓

editor[@role=’excavationsdirector’]

EM archeo [2]

✓

editor[@role=’collaborator’]

EM archeo [2]

✓

author and editor

/TEI/teiHeader/fileDesc/titleStmt/author/

/TEI/teiHeader/fileDesc/titleStmt/editor/

Element

Import OJ

Export OJ

persName/forename

✓

✓

persName/surname

✓

✓

affiliation

✓

✓

idno[@type=”IDREF”]

✓

✓

idno[@type=”ORCID”]

✓

idno[@type=”ISNI”]

✓

idno[@type=”VIAF”]

✓

idno[@type=”BNF”]

✓

orgName

✓

✓

roleName[@type=’function’]

✓

✓

roleName[@type=’honorific’]

✓

✓

email

✓

✓

ref[@type=’website’]

✓

✓

publicationStmt

/TEI/teiHeader/fileDesc/publicationStmt/

Element

Import OJ

Export OJ

1.1.2.1   Date of electronic publication

date

✓

✓

1.1.2.2   Publisher, Distributor

publisher

-

✓

distributor

-

1.6.1+

1.1.2.3   Identifier

idno[@type=’documentnumber’]

✓

✓

idno[@type=’url’]

-

✓

idno[@type=’doi’]

-

1.6.1+

1.1.2.4   License

availability

✓

✓

sourceDesc/biblStruct

analytic

/TEI/teiHeader/fileDesc/sourceDesc/biblStruct/analytic/

Element

Import OJ

Export OJ

1.1.3.2.1   biblStruct/analytic

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

1.1.3.2.2   biblStruct/monogr

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

tagsDecl

/TEI/teiHeader/encodingDesc/tagsDecl/

Element

Import OJ

Export OJ

2.2.3   Text layout: hi tags, rend and rendition attributes

rendition[@xml:id and @scheme=”css”]

✓

✓

profileDesc

/TEI/teiHeader/profileDesc/

langUsage/language

Element

Import OJ

Export OJ

1.3.2   Language

langUsage/language

✓

✓

textClass/keywords

/TEI/teiHeader/profileDesc/textClass/keywords/

Element

Import OJ

Export OJ

1.3.1   Index: keywords, geography, chronology, themes, etc.

[@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

2.1.1   Abstracts

div[@type=’abstract’ and @xml:lang] [1]

✓

✓

2.1.2   Reading notes and reviews

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’]

✓

✓

2.1.3   Author notes, editors notes, errata, acknowledgements

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

2.2.1   Structure of the text and section titles

div

✓

✓

head[@subtype=’leveln’]

✓

✓

2.2.2   Footnotes and endnotes

note[@place=’foot’ and @n]/p

✓

✓

note[@place=’end’ and @n]/p

✓

✓

2.2.3   Text layout: hi tags, rend and rendition attributes

hi[@rend] [4]

✓

✓

2.2.4   Quotation

q[@rend=’quotation’]

✓

✓

q[@rend=’quotation2’]

✓

✓

q[@rend=’quotation3’]

✓

✓

2.2.5   Paragraph styles

p[@rend=’answer’]

✓

✓

p[@rend=’noindent’]

✓

✓

p[@rend=’box’]

✓

✓

p[@rend=’epigraph’]

✓

✓

p[@rend=’break’]

✓

✓

2.2.6   Lists

list[@type=’unordered’]/item

✓

✓

list[@type=’ordered’]/item

✓

✓

2.2.7   Tables

table

✓

✓

row

✓

✓

cell[@rows and @cols]

✓

✓

2.2.8   Hypertext links

ref[@target]

✓

✓

2.2.9   Images

p/figure/graphic[@url]

✓

✓

p[@rend=’figure-title’]

✓

✓

p[@rend=’figure-legend’]

✓

✓

p[@rend=’figure-license’]

✓

✓

2.2.10   Formula

formula[@notation=’latex’] [5]

✓

✓

2.2.11   Code

code[@lang]

✓

✓

2.2.12   Linguistic examples

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

2.3.1   Bibliography

div[@type=’bibliography’]/listBibl

✓

✓

div[@type=’bibliography’]/listBibl/bibl

✓

✓

div[@type=’bibliography’]/listBibl/head[@subtype=’leveln’]

✓

✓

2.3.2   Annexes

div[@type=’appendix’]

✓

✓