Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Team planners
      • News
    • Getting started
    • Introduction video
      Welcome to GWDG OpenProject
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      AcademicID

Side Menu

  • Overview
  • Wiki
    Wiki

Content

You are here:
  1. Wiki
  2. 5: TEI Schema
  3. C: TEI Code Snippets

C: TEI Code Snippets

  • More
    • Print
    • Table of contents

This page contains code snippets that can be used to copy & paste them into the appropriate place of the TEI files.

.tei:header/tei:encodingDesc/tei:metDecl[@xml:id=bahir]

<metDecl xml:id="meters" corresp="#symbols" type="met">
    <metSym xml:id="cedid1" value="Cedîd 1" terminal="false">uu--|uu--|u-u-|</metSym>
    <metSym xml:id="hezec1" value="Hezec 1" terminal="false">--u|u--u|u--u|u--|</metSym>
    <metSym xml:id="hezec2" value="Hezec 2" terminal="false">--u|u---|u-u|u--|</metSym>
    <metSym xml:id="hezec3" value="Hezec 3" terminal="false">--u|u-u-|u--|</metSym>
    <metSym xml:id="hezec4" value="Hezec 4" terminal="false">u---|u--|u---|u--|</metSym>
    <metSym xml:id="hezec5" value="Hezec 5" terminal="false">u---|u---|u---|u---|</metSym>
    <metSym xml:id="hezec6" value="Hezec 6" terminal="false">u---|u---|u---|u--|</metSym>
    <metSym xml:id="hezec7" value="Hezec 7" terminal="false">u---|u---|u--|</metSym>
    <metSym xml:id="hezec8" value="Hezec 8" terminal="false">u---|u---|</metSym>
    <metSym xml:id="hezecahreb1" value="Hezec (Ahreb) 1 (Rubâî Meter)" terminal="false">--u|u---|--u|u-|</metSym>
    <metSym xml:id="hezecahreb2" value="Hezec (Ahreb) 2 (Rubâî Meter)" terminal="false">--u|u--u|u--u|u-|</metSym>
    <metSym xml:id="hezecahreb3" value="Hezec (Ahreb) 3 (Rubâî Meter)" terminal="false">--u|u---|---|-|</metSym>
    <metSym xml:id="hezecahreb4" value="Hezec (Ahreb) 4 (Rubâî Meter)" terminal="false">--u|u---|u---|-|</metSym>
    <metSym xml:id="hezecahreb5" value="Hezec (Ahreb) 5 (Rubâî Meter)" terminal="false">--u|u---|u--u|u-|</metSym>
    <metSym xml:id="hezecahreb6" value="Hezec (Ahreb) 6 (Rubâî Meter)" terminal="false">--u|u---|u---|-|</metSym>
    <metSym xml:id="hezecahrem1" value="Hezec (Ahrem) 1 (Rubâî Meter)" terminal="false">---|--u|u--u|u-|</metSym>
    <metSym xml:id="hezecahrem2" value="Hezec (Ahrem) 2 (Rubâî Meter)" terminal="false">---|--u|u---|-|</metSym>
    <metSym xml:id="hezecahrem3" value="Hezec (Ahrem) 3 (Rubâî Meter)" terminal="false">---|---|--u|u-|</metSym>
    <metSym xml:id="hezecahrem4" value="Hezec (Ahrem) 4 (Rubâî Meter)" terminal="false">---|---|--u|-|</metSym>
    <metSym xml:id="kamil1" value="Kâmil 1" terminal="false">uu-u-|u--|uu-u-|u--|</metSym>
    <metSym xml:id="muzari1" value="Muzâri 1" terminal="false">--u|-u-u|u--u|-u-|</metSym>
    <metSym xml:id="muzari2" value="Muzâri 2" terminal="false">--u|-u-u|--u|-u--|</metSym>
    <metSym xml:id="muctes1" value="Müctes 1" terminal="false">u-u-|uu--|u-u-|uu-|</metSym>
    <metSym xml:id="munserih1" value="Münserih 1" terminal="false">-uu-|-u-|-uu-|-u-|</metSym>
    <metSym xml:id="munserih2" value="Münserih 2" terminal="false">-uu--|-uu--|</metSym>
    <metSym xml:id="recez1" value="Recez 1" terminal="false">-uu-|u-u-|-uu-|u-u-|</metSym>
    <metSym xml:id="recez2" value="Recez 2" terminal="false">-uu-|-uu-|-uu-|-uu-|</metSym>
    <metSym xml:id="recez3" value="Recez 3" terminal="false">--u-|--u-|--u-|--u-|</metSym>
    <metSym xml:id="remel1" value="Remel 1" terminal="false">-u--|-u--|-u--|-u-|</metSym>
    <metSym xml:id="remel2" value="Remel 2" terminal="false">uu--|uu--|uu--|uu-|</metSym>
    <metSym xml:id="remel3" value="Remel 3" terminal="false">-u--|-u--|-u--|</metSym>
    <metSym xml:id="remel4" value="Remel 4" terminal="false">-u--|-u--|-u-|</metSym>
    <metSym xml:id="remel5" value="Remel 5" terminal="false">-u--|-u--|-u--|-u--|</metSym>
    <metSym xml:id="remel6" value="Remel 6" terminal="false">uu--|uu--|uu--|uu--|</metSym>                     
    <metSym xml:id="seri1" value="Serî 1" terminal="false">-uu-|-uu-|-u-|</metSym>
</metDecl>

.tei:header/tei:fileDesc/tei:sourceDesc/tei:listWit

All "########" must be replaced with the corresponding 8-digit number from the URI.

<witness xml:id="cmo_source_########">
    <idno type="CMO">NE204</idno>
    <idno type="RISM">[Enter RISM identifier, if existant, or delete element.]</idno>
    <biblFull>
        <fileDesc>
            <titleStmt>
                <title type="main" xml:lang="[lan]">[Enter title of corresponding piece, or delete content otherwise]</title>
                <editor>
                    <!-- Enter appropriate 8-digit number from URI (twice). -->
                    <persName key="cmo_person_########"
                        ref="https://corpus-musicae-ottomanicae.de/receive/cmo_person_########">
                        [Enter name of person here or delete element otherwise.]</persName>
                </editor>
            </titleStmt>
            <publicationStmt>
                <ab/>
            </publicationStmt>
            <sourceDesc>
                <!-- Add appropriate 8-digit number from URI. -->
                <bibl>The following source description is retreived from the CMO
                    Source Catalogue: <ref type="uri">
                        https://corpus-musicae-ottomanicae.de/receive/cmo_source_########</ref>
                </bibl>
            </sourceDesc>
        </fileDesc>
        <profileDesc>
            <textClass>
                <keywords>
                    <!-- Add / delete tei:term elements here as appropriate. -->
                    <term
                        target="https://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_sourceType#Manuscript"
                        type="cmo_sourceType">Manuscript</term>
                    <term
                        target="https://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_kindOfData#source"
                        type="cmo_kindOfData">Source Catalogue</term>
                    <term
                        target="https://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_notationType#Hampartsum_notation"
                        type="cmo_notationType">Hampartsum notation</term>
                    <term
                        target="https://www.corpus-musicae-ottomanicae.de/api/v1/classifications/cmo_contentType#Mixed_musical_collection"
                        type="cmo_contentType">Mixed musical collection</term>
                </keywords>
            </textClass>
            <langUsage>
                <!-- Enter value for @ident with three-letter code for language and four-letter code for script. -->
                <!-- Use "https://tools.ietf.org/search/bcp47#appendix-A" as a guideline choosing the code to match the language description from the source catalogue. -->
                <language ident="[lan-scrp]">[Enter language description from source catalogue,
                    e.g. Ottoman Turkish in Arabic script]</language>
            </langUsage>
        </profileDesc>
    </biblFull>
    <msDesc>
        <msIdentifier>
            <country>[Enter country as in source catalogue, e.g. Turkey.]</country>
            <settlement>[Enter city as in source catalogue, e.g. Istanbul.]</settlement>
            <repository>[Enter library as in source catalogue, e.g.
                İstanbul Üniversitesi Nadir Eserler Kütüphanesi]</repository>
            <idno>[Enter sehlfmark of library as in source catalogue, e.g. Y. 204-2]</idno>
        </msIdentifier>
        <msContents>
            <summary>[Enter contents as in source catalogue.]</summary>
        </msContents>
        <history>
            <p>[Enter provenance from source catalogue (bold).] <geogName>[Enter city from source catalogue.]</geogName>
                <!-- Add date range and calendar type as in source catalogue. -->
                <date notBefore="" notAfter="" calendar="#">[Enter date as in source catalogue.]</date>
            </p>
        </history>
    </msDesc>
</witness>
Loading...