Skip to content

<listRef>

list of references

supplies a list of significant references in the current document or elsewhere.

Attributes

Classes and content

Member of
May contain

tagdocs

Contained by

analysis

cmc

linking

Note

When listRef is used in the context of tagdocs, further restrictons apply:

  • It may only contain ptr or ref elements.
  • Each ptr or ref child should bear a @target attribute, the value of which should be a single URI pointer.

Example

<listRef>
  <ptr target="#ddc12"/>
</listRef>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="TagDocsNestinglistRef" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef">
        <sch:report test="tei:listRef">In the context of tagset documentation, the &lt;listRef&gt; element must not self-nest.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="TagDocslistRefChildren" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef/tei:ptr | ( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef/tei:ref">
        <sch:assert test="@target and not( matches( @target,'\s') )">In the context of tagset documentation, each &lt;ptr&gt; or &lt;ref&gt; element inside a &lt;listRef&gt; must have a @target attribute with only 1 pointer as its value.</sch:assert>
      </sch:rule>
    </constraint>
  </constraintSpec>

Content model

<content>
    <sequence>
      <elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/>
      <classRef key="model.ptrLike" minOccurs="1" maxOccurs="unbounded"/>
    </sequence>
  </content>