<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING for details
$Date$

$Id$
-->
<?xml-model href="http://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"?>
<classSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" predeclare="true" xml:id="GBLSRC" module="tei" type="atts" ident="att.global.source">
  <desc versionDate="2016-02-15" xml:lang="en">provides an attribute used by elements to point to an
    external source.</desc>
  <attList>
    <attDef ident="source" usage="opt">
      <desc versionDate="2010-05-09" xml:lang="en">specifies the source from which some aspect of
        this element is drawn.</desc>
      <datatype maxOccurs="unbounded">
        <dataRef key="teidata.pointer"/>
      </datatype>
      <remarks xml:lang="en" versionDate="2017-06-06">
        <p>The <att>source</att> attribute points to an external source. When used on elements
          describing schema components such as <gi>schemaSpec</gi> or <gi>moduleRef</gi> it
          identifies the source from which declarations for the components of the object being
          defined may be obtained. </p>
        <p> On other elements it provides a pointer to the bibliographical source from which a
          quotation or citation is drawn. </p>
        <p>In either case, the location may be provided using any form of URI, for example an
          absolute URI, a relative URI, or private scheme URI that is expanded to an absolute URI as
          documented in a <gi>prefixDef</gi>.</p>
        <p>If more than one location is specified, the default assumption is that the required
          source should be obtained by combining the resources indicated. </p>
      </remarks>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" source="#SOURCE-eg-01">
      <p><!-- ... --> As Willard McCarty (<bibl xml:id="mcc_2012">2012, p.2</bibl>) tells us, <quote source="#mcc_2012">‘Collaboration’ is a problematic and should be a contested
          term.</quote>
        <!-- ... -->
      </p>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <p>
        <!-- ... -->
        <quote source="#chicago_15_ed">Grammatical theories are in flux, and the more we learn, the
          less we seem to know.</quote>
        <!-- ... -->
      </p>
      <!-- ... -->
      <bibl xml:id="chicago_15_ed"><title level="m">The Chicago Manual of Style</title>,
          <edition>15th edition</edition>. <pubPlace>Chicago</pubPlace>: <publisher>University of
          Chicago Press</publisher> (<date>2003</date>), <biblScope unit="page">p.147</biblScope>.
      </bibl>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" source="#UND">
      <elementRef key="p" source="tei:2.0.1"/>
    </egXML>
    <p>Include in the schema an element named <gi>p</gi> available from the TEI P5 2.0.1
      release.</p>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" source="#UND">
      <schemaSpec ident="myODD" source="mycompiledODD.xml">
        <!-- further declarations specifying the components required -->
      </schemaSpec>
    </egXML>
    <p>Create a schema using components taken from the file <ident>mycompiledODD.xml</ident>.</p>
  </exemplum>
  <listRef>
    <ptr target="#STGAso"/>
    <ptr target="#COHQQ"/>
    <ptr target="#TSBAWR"/>
  </listRef>
</classSpec>
