<?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: 2012-07-15 00:41:31 +0100 (Sun, 15 Jul 2012) $
    $Id: elementRef.xml 10657 2012-07-14 23:41:31Z martindholmes $
-->

<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="elementRef">
  <desc>points to the specification for some element which is to be included in a schema</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="model.oddRef"/>
    <memberOf key="att.readFrom"/>
  </classes>
  <content>
    <rng:empty/>
  </content>
  <attList>
    <attDef ident="key" usage="req">
      <desc>the identifier used for the required element within the
	source indicated.</desc>
      <datatype>
        <rng:data type="NCName"/>
      </datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <elementRef key="p"/>
    </egXML>
    <p>Include in the schema an element named <gi>p</gi>  available from the
    current default source.</p>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <elementRef key="p" source="tei:1.2.1"/>
    </egXML>
    <p>Include  in the schema an element named <gi>p</gi> 
    available from the TEI P5 1.2.1 release.</p>
  </exemplum>
  <remarks>
    <p>Elements are identified by the name supplied as value for the
    <att>ident</att> attribute on the <gi>elementSpec</gi> element in
    which they are declared. TEI element names are unique.
    </p>
  </remarks>
</elementSpec>
