Summary on the Use of @ref and @corresp

For internal references you can use

  1. <ref type="quire" corresp="#q12">
  2. <ref target="#q12 #q13">
  3. @corresp with a value starting with # (the ID anchor) points always to a @xml:id WITHIN THE DOCUMENT

If @corresp is used to point to an element inside another document with an ID, as for witness and div in a work record, then it does not need an initial # like in this example from LIT1560Gospel

<div type="textpart" subtype="chapter" xml:lang="gez" xml:id="IntroductionEpistle" corresp="LIT1349EpistlEusebius"> <label>Epistle to Carpianus by Eusebius</label> </div>

element ref corresp
ref X
witness X
div X
title X
persName X
placeName X
origPlace X
repository X
country X
settlement X
region X
bibl X

  • If you point to an internal anchor in a @xml:id inside the document you are working with, use # to begin with and your editor should prompt for you a list of available IDs.

  • If you point to an external ID don't start with #, just enter the ID. That is why <witness> does not take that, as @active, @passive inside <relation> should not. In fact you want to be able to point to anchors within the records you are pointing to and link things like LIT1560Gospel#t2.

This page is referred to in the following pages

Revisions of this page

  • Pietro Maria Liuzzo on 2018-04-30: first version of guidelines from Wiki