Skip to content

Mupltiple references within one <xr> element, or multliple <xr> elements? #220

@daliboris

Description

@daliboris

There are examples of the <xr> element in TEI Lex-0 Guidlines (see section 7.3.2) where multiple items of the same type are encoded as multiple <xr> elements, for example:

<xr type="synonymy">
     <ref type="entry">bettlägerig</ref>
</xr>
<pc>,</pc>
<xr type="synonymy">
     <ref type="entry">krank</ref>
</xr>

I didn't find any example of multiple children <ref> elements within one parent <xr> element, i.e.

<xr type="synonymy">
   <ref type="entry">bettlägerig</ref>
   <pc>,</pc>
   <ref type="entry">krank</ref>
</xr>

Multiple <xr> elements are allowed now by schema.

As the <xr> element

groups all information related to this reference, including explicit labels such as "Syn.", "Cf.", "See also" etc.,

the following example (from the Old Czech Electronic Dictionary; 'Sr.' = 'Cf.') seems to me to be appropriately encoded:

<xr type="related">
   <lbl rendition="nonparej">Sr.</lbl>
   <ref type="entry">přiběhovati</ref>
   <pc function="formDelimiter">,</pc>
   <ref type="entry">přibiehati</ref>
   <pc function="formDelimiter">,</pc>
   <ref type="entry">přiletěti</ref>
   <pc function="formDelimiter">,</pc>
   <ref type="entry">hnáti</ref>
</xr>

rather than:

<xr type="related">
   <lbl rendition="nonparej">Sr.</lbl>
   <ref type="entry">přiběhovati</ref>
</xr>
<pc>,</pc>
<xr type="related">
   <ref type="entry">přibiehati</ref>
</xr>
<pc>,</pc>
<xr type="related">
   <ref type="entry">přiletěti</ref>
</xr>
<pc>,</pc>
<xr type="related">
   <ref type="entry">hnáti</ref>
</xr>

because all referenced entries should share the same label.

What do you think: should we use one <ref> per one parent <xr> element, or multiple <ref> elements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions