<?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-12-27 19:59:31 +0000 (Thu, 27 Dec 2012) $
$Id: pc.xml 11276 2012-12-27 19:59:31Z martindholmes $
-->
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="analysis" ident="pc">
  <equiv/>
  <gloss>punctuation character</gloss>
  <desc>contains a character or string of characters regarded as constituting a
  single punctuation mark.</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="model.segLike"/>
    <memberOf key="att.segLike"/>
    <memberOf key="att.typed"/>
  </classes>
  <content>
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="model.gLike"/>
        <rng:ref name="c"/>
	<rng:ref name="model.pPart.edit"/>
      </rng:choice>
    </rng:zeroOrMore>
  </content>
  <attList>
    <attDef ident="force" usage="opt">
      <equiv/>
      <desc>indicates the extent to which this punctuation mark
      conventionally separates words or phrases</desc>
      <datatype>
        <rng:ref name="data.enumerated"/>
      </datatype>
      <valList type="closed">
        <valItem ident="strong">
          <desc>the punctuation mark is a word separator</desc>
        </valItem>
        <valItem ident="weak">
          <desc>the punctuation mark is not a word separator</desc>
        </valItem>
        <valItem ident="inter">
          <desc>the punctuation mark may or may not be a word separator</desc>
        </valItem>
      </valList>
    </attDef>
    <attDef ident="unit" usage="opt">
      <equiv/>
      <desc>provides a name for the kind of unit delimited by  this punctuation mark.</desc>
      <datatype>
        <rng:ref name="data.enumerated"/>
      </datatype>
    </attDef>
    <attDef ident="pre" usage="opt">
      <equiv/>
      <desc>indicates whether this punctuation mark precedes or
      follows the unit it delimits.</desc>
      <datatype>
        <rng:ref name="data.truthValue"/>
      </datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <phr>
        <w>do</w>
        <w>you</w>
        <w>understand</w>
        <pc type="interrogative">?</pc>
      </phr>
    </egXML>
  </exemplum>
<!-- better examples needed -->
  <listRef>
    <ptr target="#AILC"/>
  </listRef>
</elementSpec>
<!--
attribute force { data.word }?,
attribute unit { data.word }?,
attribute direction { "before" | "after" | "unknown" |
"inapplicable" }?,
</p>
-->
