TEI Lex-0

— A baseline encoding for lexicographic data

12.1.138. <xenoData>

<xenoData> (non-TEI metadata) provides a container element into which metadata in non-TEI formats may be placed. [2.5. Non-TEI Metadata]
Moduleheader — Specification
Attributes
Contained by
header: teiHeader
May containANY
ExampleThis example presumes that the prefix dc has been bound to the namespace http://purl.org/dc/elements/1.1/ and the prefix rdf is bound to the namespace http://www.w3.org/1999/02/22-rdf-syntax-ns#. Note: The about attribute on the <rdf:Description> in this example gives a URI indicating the resource to which the metadata contained therein refer. The <rdf:Description> in the second <xenoData> block has a blank about, meaning it is pointing at the current document, so the RDF is about the document within which it is contained, i.e. the TEI document containing the <xenoData> block. Similarly, any kind of relative URI may be used, including fragment identifiers (see [[undefined SG-id]]). Do note, however, that if the contents of the <xenoData> block are to be extracted and used elsewhere, any relative URIs will have to be resolved accordingly.
<xenoData
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <rdf:RDF>
  <rdf:Description rdf:about="http://www.worldcat.org/oclc/606621663">
   <dc:title>The description of a new world, called the blazing-world</dc:title>
   <dc:creator>The Duchess of Newcastle</dc:creator>
   <dc:date>1667</dc:date>
   <dc:identifier>British Library, 8407.h.10</dc:identifier>
   <dc:subject>utopian fiction</dc:subject>
  </rdf:Description>
 </rdf:RDF>
</xenoData>
<xenoData>
 <rdf:RDF>
  <rdf:Description rdf:about="">
   <dc:title>The Description of a New World, Called the Blazing-World, 1668</dc:title>
   <dc:creator>Cavendish, Margaret (Lucas), Duchess of Newcastle</dc:creator>
   <dc:publisher>Women Writers Project</dc:publisher>
   <dc:date>2002-02-12</dc:date>
   <dc:subject>utopian fiction</dc:subject>
  </rdf:Description>
 </rdf:RDF>
</xenoData>
ExampleIn this example, the prefix rdf is bound to the namespace http://www.w3.org/1999/02/22-rdf-syntax-ns#, the prefix dc is bound to the namespace http://purl.org/dc/elements/1.1/, and the prefix cc is bound to the namespace http://web.resource.org/cc/.
<xenoData
   xmlns:cc="http://web.resource.org/cc/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <rdf:RDF>
  <cc:Work rdf:about="">
   <dc:title>Applied Software Project Management - review</dc:title>
   <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text"/>
   <dc:license rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/uk/"/>
  </cc:Work>
  <cc:License rdf:about="http://creativecommons.org/licenses/by-sa/2.0/uk/">
   <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
   <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
   <cc:requires rdf:resource="http://web.resource.org/cc/Notice"/>
   <cc:requires rdf:resource="http://web.resource.org/cc/Attribution"/>
   <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
   <cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike"/>
  </cc:License>
 </rdf:RDF>
</xenoData>
ExampleIn this example, the prefix dc is again bound to the namespace http://www.openarchives.org/OAI/2.0/oai_dc/, and the prefix oai_dc is bound to the namespace http://www.openarchives.org/OAI/2.0/oai_dc/.
<xenoData
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">
 <oai_dc:dc>
  <dc:title>The colonial despatches of Vancouver Island and British
     Columbia 1846-1871: 11566, CO 60/2, p. 291; received 13 November.
     Trevelyan to Merivale (Permanent Under-Secretary)</dc:title>
  <dc:date>1858-11-12</dc:date>
  <dc:creator>Trevelyan</dc:creator>
  <dc:publisher>University of Victoria Humanities Computing and Media
     Centre, and UVic Libraries</dc:publisher>
  <dc:type>InteractiveResource</dc:type>
  <dc:format>application/xhtml+xml</dc:format>
  <dc:type>text</dc:type>
  <dc:identifier>http://bcgenesis.uvic.ca/getDoc.htm?id=B585TE13.scx</dc:identifier>
  <dc:rights>This document is licensed under a Creative Commons …</dc:rights>
  <dc:language>(SCHEME=ISO639) en</dc:language>
  <dc:source>Transcribed from microfilm and/or original documents, and
     marked up in TEI P5 XML. The interactive XHTML resource is generated
     from the XHTML using XQuery and XSLT.</dc:source>
  <dc:source>repository: CO</dc:source>
  <dc:source>coNumber: 60</dc:source>
  <dc:source>coVol: 2</dc:source>
  <dc:source>page: 291</dc:source>
  <dc:source>coRegistration: 11566</dc:source>
  <dc:source>received: received 13 November</dc:source>
  <dc:subject>Trevelyan, Sir Charles Edward</dc:subject>
  <dc:subject>Merivale, Herman</dc:subject>
  <dc:subject>Elliot, T. Frederick</dc:subject>
  <dc:subject>Moody, Colonel Richard Clement</dc:subject>
  <dc:subject>Lytton, Sir Edward George Earle Bulwer</dc:subject>
  <dc:subject>Jadis, Vane</dc:subject>
  <dc:subject>Carnarvon, Earl</dc:subject>
  <dc:subject>British Columbia</dc:subject>
  <dc:description>British Columbia correspondence: Public Offices
     document (normally correspondence between government
     departments)</dc:description>
 </oai_dc:dc>
</xenoData>
ExampleIn this example, the prefix mods is bound to the namespace http://www.loc.gov/mods/v3.
<xenoData
   xmlns:mods="http://www.loc.gov/mods/v3">
 <mods:mods>
  <mods:titleInfo>
   <mods:title>Academic adaptation and cross-cultural
       learning experiences of Chinese students at American
       universities</mods:title>
   <mods:subTitle>a narrative inquiry</mods:subTitle>
  </mods:titleInfo>
  <mods:name type="personal"
   authority="local">
   <mods:namePart/>
   <mods:role>
    <mods:roleTerm authority="marcrelator"
     type="text">Author</mods:roleTerm>
   </mods:role>
   <mods:affiliation>Northeastern University</mods:affiliation>
   <mods:namePart type="given">Hong</mods:namePart>
   <mods:namePart type="family">Zhang</mods:namePart>
  </mods:name>
  <mods:name type="personal"
   authority="local">
   <mods:namePart/>
   <mods:role>
    <mods:roleTerm authority="local"
     type="text">Advisor</mods:roleTerm>
   </mods:role>
   <mods:namePart type="given">Liliana</mods:namePart>
   <mods:namePart type="family">Meneses</mods:namePart>
  </mods:name>
  
  <!-- ... -->
  <mods:typeOfResource>text</mods:typeOfResource>
  <mods:genre>doctoral theses</mods:genre>
  <mods:originInfo>
   <mods:place>
    <mods:placeTerm type="text">Boston (Mass.)</mods:placeTerm>
   </mods:place>
   <mods:publisher>Northeastern University</mods:publisher>
   <mods:copyrightDate encoding="w3cdtf"
    keyDate="yes">2013</mods:copyrightDate>
  </mods:originInfo>
  <mods:language>
   <mods:languageTerm authority="iso639-2b"
    type="code">eng</mods:languageTerm>
  </mods:language>
  <mods:physicalDescription>
   <mods:form authority="marcform">electronic</mods:form>
   <mods:digitalOrigin>born digital</mods:digitalOrigin>
  </mods:physicalDescription>
  <!-- ... -->
 </mods:mods>
</xenoData>
ExampleThis example shows GeoJSON embedded in <xenoData>. Note that JSON does not permit newlines inside string values. These must be escaped as \n. To avoid the accidental insertion of newlines by software, the use of xml:space is recommended. Blocks of JSON should be wrapped in CDATA sections, as they may contain characters illegal in XML.
<xenoData xml:space="preserve">
<![CDATA[
{
    "features": [
        {
            "geometry": {
                "type": "Point",
                "coordinates": [
                    68.388483,
                    33.498616
                ]
            },
            "type": "Feature",
            "id": "darmc-location-19727",
            "properties": {
                "snippet": "Unknown; 330 BC - AD 300",
                "link": "https://pleiades.stoa.org/places/59694/darmc-location-19727",
                "description": "5M scale point location",
                "location_precision": "precise",
                "title": "DARMC location 19727"
            }
        }
    ],
    "id": "59694",
    "subject": [
        "dare:ancient=1",
        "dare:feature=settlement",
        "dare:major=0"
    ],
    "title": "Arachosiorum Oppidum/Alexandria",
    "provenance": "Barrington Atlas: BAtlas 6 B3 Arachosiorum Oppidum/Alexandria",
    "placeTypeURIs": [
        "https://pleiades.stoa.org/vocabularies/place-types/settlement"
    ],
    "details": "<p>The Barrington Atlas Directory notes: Kalat-e-Ghilzai? AFG</p>",
    "@context": {
        "snippet": "dcterms:abstract",
        "rights": "dcterms:rights",
        "description": "dcterms:description",
        "title": "dcterms:title",
        "dcterms": "http://purl.org/dc/terms/",
        "subject": "dcterms:subject",
        "uri": "@id",
        "created": "dcterms:created"
    },
    "review_state": "published",
    "type": "FeatureCollection",
    "description": "An ancient place, cited: BAtlas 6 B3 Arachosiorum Oppidum/Alexandria",
    "reprPoint": [
        68.388483,
        33.498616
    ],
    "placeTypes": [
        "settlement"
    ],
    "bbox": [
        68.388483,
        33.498616,
        68.388483,
        33.498616
    ],
    "rights": "Copyright © The Contributors. Sharing and remixing permitted under CC-BY.",
    "created": "2010-09-23T04:31:55Z",
    "uri": "https://pleiades.stoa.org/places/59694",
    "creators": [
        {
            "username": null,
            "name": "M.U. Erdosy"
        }
    ],
    "@type": "Place"
}
]]>
</xenoData>
Note: the example above has been trimmed for legibility. The original may be found linked from Arachosiorum Oppidum/Alexandria. The contributors, listed per the license terms, are R. Talbert, Jeffrey Becker, W. Röllig, Tom Elliott, H. Kopp, DARMC, Sean Gillies, B. Siewert-Mayer, Francis Deblauwe, and Eric Kansa.
Schematron
<sch:pattern is-a="declarable"> <sch:param name="tde" value="tei:xenoData"/> </sch:pattern>
Content model
<content>
 <alternate>
  <textNode/>
  <anyElement minOccurs="1"
   maxOccurs="unbounded"/>
 </alternate>
</content>
    
Schema Declaration

element xenoData
{
   att.global.attributes,
   att.declarable.attributes,
   att.typed.attributes,
   ( text | anyElement_xenoData_1+ )
}