- Your current position:
- Research >
- Heidelberg Research Architecture >
- Projects >
- HRA15 Encyclopaedia Database >
- TEI Mark-up >
- Single entry mark-up
Print this Page. Send this Page.
How to mark up a single entry
A single entry is enclosed by a division of the type entry: <div type="entry"></div>. Inside the entry, there are the title of the entry in <head></head> and the text of the article in <div type="article"></div>. The text itself must be embedded in paragraphs <p></p>.
The keywords assigned to an entry are indicated in the subtype of the entry-division. If more than one keyword is assigned, they should be divided by underscore: subtype="education_history".
Xml-id: In order to make references from other parts to this entry possible, a unique ID is given to the title of the entry in the following way: <head><term xml:id="[unique-id]">[title]</term></head>.
Gloss: In many cases, an article starts with a definition-like sentence. This sentence is marked up by <gloss></gloss>. The gloss tag should take the attributes rend and target. The attribute rend contains how the defining sentence is rendered in the document, in most cases the value will be: "unmarked". The attribute target describes the target which is defined. This is normally a link to the xml:id we set in the entry title. Links begin with #.
Example from Brockhaus Conversations-Lexicon, 13th ed.:
- <div type="entry" subtype="education">
- <head>
- <term xml:id="education">ERZIEHUNG</term>
- </head>
- <div type="article">
- <p><gloss rend="unmarked" target="#education">Erziehung ist eine absichtliche Einwirkung der Erwachsenen auf die Unmundigen, welche dem geistigen Leben der letztern eine bestimmte Gestaltung geben will.</gloss>
- ...
- </p>
- </div>
- </div>
