<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date$
    $Id$
-->
<?xml-model href="http://tei.oucs.ox.ac.uk/jenkins/job/TEIP5/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:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tagdocs" ident="macroRef">
  <desc versionDate="2010-05-14" xml:lang="en">points to the specification for some pattern which is to be included in a schema</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="model.oddRef"/>
    <memberOf key="model.contentPart"/>
    <memberOf key="att.readFrom"/>
  </classes>
  <content>
    <rng:empty/>
  </content>
  <attList>
    <attDef ident="key" usage="req">
      <desc versionDate="2010-05-14" xml:lang="en">the identifier used for the required pattern within the
	source indicated.</desc>
      <datatype>
        <rng:ref name="data.xmlName"/>
      </datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <schemaSpec ident="myTEI" source="http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml">
        <!-- ... -->
        <macroRef key="data.text" source="tei:1.5.0"/>
        <!-- ... -->
      </schemaSpec>
    </egXML>
  </exemplum>
  <remarks versionDate="2010-05-14" xml:lang="en">
    <p>Patterns or macros are identified by the name supplied as value for the
    <att>ident</att> attribute on the <gi>macroSpec</gi> element in
    which they are declared. All TEI macro names are unique.
    </p>
  </remarks>
  <listRef>
    <ptr target="#TDENT"/>
  </listRef>
</elementSpec>
