<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" module="header" xml:id="gi-xenoData" ident="xenoData">
  <gloss versionDate="2015-05-30" xml:lang="en">non-TEI metadata</gloss>
  <desc versionDate="2015-05-30" xml:lang="en">provides a container
  element into which metadata in non-TEI formats may be
  placed.</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.declarable"/>
    <memberOf key="att.typed"/>
    <memberOf key="model.standOffPart"/>
    <memberOf key="model.teiHeaderPart"/>
  </classes>
  <content>
    <alternate>
      <textNode/>
      <anyElement minOccurs="1" maxOccurs="unbounded"/>
    </alternate>
  </content>
  <constraintSpec ident="xenoData-is-declarable" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:pattern is-a="declarable">
        <sch:param name="tde" value="tei:xenoData"/>
      </sch:pattern>
    </constraint>
  </constraintSpec>
  <exemplum xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" versionDate="2017-05-11" xml:lang="en">
    <p>This example presumes that the prefix <code>dc</code> has been bound to the namespace
        <code>http://purl.org/dc/elements/1.1/</code> and the prefix <code>rdf</code> is bound to
      the namespace <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>. Note: The
        <att>about</att> attribute on the <gi>rdf:Description</gi> in this example gives a URI
      indicating the resource to which the metadata contained therein refer. The
        <gi>rdf:Description</gi> in the second <gi>xenoData</gi> block has a blank
        <att>about</att>, meaning it is pointing at the <hi rend="italic">current</hi> document, so
      the RDF is about the document within which it is contained, i.e. the TEI document containing
      the <gi>xenoData</gi> block. Similarly, any kind of relative URI may be used, including
      fragment identifiers (see <ptr target="#SG-id"/>). Do note, however, that if the contents of
      the <gi>xenoData</gi> block are to be extracted and used elsewhere, any relative URIs will
      have to be resolved accordingly.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-xenoData-egXML-im" valid="feasible">
      <xenoData>
        <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>
    </egXML>
  </exemplum>
  <!-- Thanks to                                                 -->
  <!-- Sarah Sweeney, Digital Repository Manager                 -->
  <!-- Northeastern University Library Digital Scholarship Group -->
  <!-- for the examples below except for the UVic "colonial      -->
  <!-- despatches of Vancouver Island" example, for which thanks -->
  <!-- to Martin Holmes, who posted it on the ticket, FR 453.    --> 
  <exemplum 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#" versionDate="2015-05-30" xml:lang="en">
    <p>In this example, the prefix
    <code>rdf</code> is bound to the namespace <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>, the prefix
    <code>dc</code> is bound to the namespace <code>http://purl.org/dc/elements/1.1/</code>, and the prefix
    <code>cc</code> is bound to the namespace <code>http://web.resource.org/cc/</code>.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-xenoData-egXML-id" valid="feasible"><xenoData>
        <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></egXML>
  </exemplum>
  <exemplum xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" versionDate="2015-07-11" xml:lang="en">
    <p>In this example, the prefix
    <code>dc</code> is again bound to the namespace
    <code>http://www.openarchives.org/OAI/2.0/oai_dc/</code>, and the prefix
    <code>oai_dc</code> is bound to the namespace <code>http://www.openarchives.org/OAI/2.0/oai_dc/</code>.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-xenoData-egXML-uw" valid="feasible"> <xenoData>
      <oai_dc:dc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <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>
    </egXML>
  </exemplum>
  <exemplum xmlns:mods="http://www.loc.gov/mods/v3" versionDate="2015-06-25" xml:lang="en">
    <p>In this example, the prefix <code>mods</code> is bound to the
    namespace <code>http://www.loc.gov/mods/v3</code>.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-xenoData-egXML-gp" valid="feasible">
      <xenoData>
        <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>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <p>This example shows <ref target="https://tools.ietf.org/html/rfc7946">GeoJSON</ref> embedded
      in <tag>xenoData</tag>. Note that JSON does not permit newlines inside string values. These
      must be escaped as <code>\n</code>. To avoid the accidental insertion of newlines by software,
      the use of <att>xml:space</att> is recommended. Blocks of JSON should be wrapped in CDATA
      sections, as they may contain characters illegal in XML.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-xenoData-egXML-ii" xml:space="preserve"><xenoData xml:space="preserve">
&lt;![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": "&lt;p&gt;The Barrington Atlas Directory notes: Kalat-e-Ghilzai? AFG&lt;/p&gt;",
    "@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"
}
]]&gt;
</xenoData></egXML>
    <p>Note: the example above has been trimmed for legibility. The original may be found linked
      from <ref target="https://pleiades.stoa.org/places/59694">Arachosiorum
        Oppidum/Alexandria</ref>. 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.</p>
  </exemplum>
  <listRef>
    <ptr target="#HD9"/>
  </listRef>
</elementSpec>
