Difference between revisions of "Annotation and indexing"

From XML
Jump to: navigation, search
Line 1: Line 1:
 
A digital edition in TEI provides the ability to encode each peculiarity within the text (source) in detail in the TEI file. It is, however, possible to – for example to achieve a faster result – deal with phenomena the traditional way by discussing them in an annotation, using the <note> element.  
 
A digital edition in TEI provides the ability to encode each peculiarity within the text (source) in detail in the TEI file. It is, however, possible to – for example to achieve a faster result – deal with phenomena the traditional way by discussing them in an annotation, using the <note> element.  
  
An empty &lt;anchor/> element must be placed within the transcription, the element containing a @n attribute with a short keyword and a @type=”note”. Nest another <note> element with @n attribute in the &lt;div type=”notes” n=”sleutelwoord” xml:lang=”taal”> element containing the text of the annotation. The @n must have the same value in both elements. All annotations within the same language must be incorporated within the same &lt;div> element, and the notes should be arranged based on their location in the text.  For example:
+
An empty &lt;anchor/> element must be placed within the transcription, the element containing a @n attribute with a short keyword and a @type=”note”. Nest another <note> element with @n attribute in the &lt;div type="notes" n="keyword" xml:lang="language"> element containing the text of the annotation. The @n must have the same value in both elements. All annotations within the same language must be incorporated within the same &lt;div> element, and the notes should be arranged based on their location in the text.  For example:
  
 
<pre>
 
<pre>

Revision as of 13:27, 15 February 2017

A digital edition in TEI provides the ability to encode each peculiarity within the text (source) in detail in the TEI file. It is, however, possible to – for example to achieve a faster result – deal with phenomena the traditional way by discussing them in an annotation, using the <note> element.

An empty <anchor/> element must be placed within the transcription, the element containing a @n attribute with a short keyword and a @type=”note”. Nest another <note> element with @n attribute in the <div type="notes" n="keyword" xml:lang="language"> element containing the text of the annotation. The @n must have the same value in both elements. All annotations within the same language must be incorporated within the same <div> element, and the notes should be arranged based on their location in the text. For example:

<p>This is an exemple<anchor n=“nootje”  type= “note”/> of how to create a note</p>

<div  type=“notes”  xml:lang=“en”>
<note n=“nootje”>This is the note</note>
… other notes in English…
</div>

<div  type=“notes”  xml:lang=“nl”>
<note n=“nootje”>Dit is de noot</note>
… other notes in Dutch …
</div>

See also