ref

TEI guidelines element ref

Schema specification

Content

Please use your editor to see what elements, attributes and in what order they are allowed.

See: macro.paraContent

See: att.global.attributes

See: att.pointing.attributes

See: att.internetMedia.attributes

See: att.typed.attribute.subtype

See: att.declaring.attributes

See: att.cReferencing.attributes

Optional: attribute @type

Schema specification

These rules for change try to make sure that the values for type are only those in the list; that there is one of the pointer attributes; that target is only used with URLs; that there is a space before and after the element. Beta maṣāḥǝft Guidelines

context rule report
tei:ref not(@target or @corresp or @cRef)
not(@type) and @corresp
ref must be used with either a @corresp pointing to a project xml:id or a @target pointing to a an internal id or a @cRef pointing to an external urn, like those in Perseus
Please use @corresp only for external entities, assigning also a @type. if you need to point to something into the current file or to a resource external to the project use @target.
tei:ref[@target] not(starts-with(@target, '#') or starts-with(@target, 'http'))
Please use @target if you need to point to something into the current file (e.g. #h1) or to point to a resource external to the project (http://www.example.com). if you need to point to a mss, use @corresp
tei:ref[not(text())] matches(following-sibling::text()[1], '^\w') or matches(preceding-sibling::text()[1], '\w$')
There should be a space before and one after the element ref

Attibutes list

attribute type

This is a closed list of allowed values

value definition
mspart Please use this type if corresp is pointing to the xml:id of a <msPart> in a manuscript record
author Please use this type if corresp is pointing to the xml:id of a person record
place Please use this type if corresp is pointing to the xml:id of a place record
item Please use this type if corresp is pointing to the xml:id of a <msItem> in a manuscript record
hand Please use this type if corresp is pointing to the xml:id of a <handNote> in a manuscript record
quire Please use this type if corresp is pointing to the xml:id of a <item> in the <collation> of a manuscript record
mss Please use this type if corresp is pointing to the xml:id of a manuscript record
work Please use this type if corresp is pointing to the xml:id of a textual unit record
ins Please use this type if corresp is pointing to the xml:id of a repository record
pers Please use this type if corresp is pointing to the xml:id of a person record
title Please use this type if corresp is pointing to the xml:id of a <title> in a textual unit record
deco Please use this type if corresp is pointing to the xml:id of a <decoNote> in the <decoDesc> of a manuscript record
group Please use this type if corresp is pointing to the xml:id of a <personGrp> in a person record
binding Please use this type if corresp is pointing to the xml:id of a <bindingNote> in the <binding> of a manuscript record
authFile Please use this type if corresp is pointing to the xml:id of an authority file record
studies A record in the Studies repository
Example 1

Example from IVefiopsk10


                            <desc> Only the name of the owner <persName ref="PRS11706ArkaDengel"></persName>
                                ʾArka Dǝngǝl in <ref target="#a1"></ref>
                            </desc>
                        
Example 2

Example from IVefiopsk18


                            <note>The text of <ref target="#ms_i1.6">has been erased with the
                                    exception of the first word</ref></note>
                        
Example 3

Example from LIT4916PhysB


                            <div type="textpart" subtype="sentence" xml:id="ch4se2" n="2">
                                <ab>ዘይቤ፡ ዳዊት፡ በእንቲአሁ፡ <ref cRef="urn:dts:betmas:LIT2000Mazmur:101.7">ተመሰልኩ፡ <app>
                                            <lem wit="#D #E #F">ጰልቃን፡</lem>
                                            <rdg wit="#M #V">ጳልቃን፡</rdg>
                                        </app> ዘገዳም።</ref>
                                </ab>
                            </div>
                        
Example 4

Example from PRS11468BPamphili


                            <occupation type="academic">Librarian of the <ref type="ins" corresp="INS0003BAV">Biblioteca Apostolica
                                Vaticana</ref>.</occupation>
                        

Revisions of this page

  • Pietro Maria Liuzzo on 2018-04-24: stub of page