Ejemplo: <elementRef>

These search results reproduce every example of the use of <elementRef> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <elementRef> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

22 Documentation Elements


<elementRef>

<elementRef key="p"/>

<elementRef>

<elementRef key="psource="tei:1.2.1"/>

22.5.1.1 Defining Content Models: TEI

<content>
 <alternate>
  <elementRef key="ptrminOccurs="1"
   maxOccurs="unbounded"/>

  <elementRef key="refminOccurs="1"
   maxOccurs="unbounded"/>

 </alternate>
</content>

22.5.1.1 Defining Content Models: TEI

<content>
 <alternate minOccurs="1"
  maxOccurs="unbounded">

  <elementRef key="ptr"/>
  <elementRef key="ref"/>
 </alternate>
</content>

22.5.1.1 Defining Content Models: TEI

<content>
 <alternate>
  <sequence>
   <elementRef key="sic"/>
   <elementRef key="corr"/>
  </sequence>
  <sequence>
   <elementRef key="orig"/>
   <elementRef key="reg"/>
  </sequence>
  <sequence>
   <elementRef key="abbr"/>
   <elementRef key="expan"/>
  </sequence>
 </alternate>
</content>

22.5.1.1 Defining Content Models: TEI

<content>
 <alternate>
  <sequence>
   <elementRef key="street"/>
   <elementRef key="placeName"/>
   <elementRef key="postCode"/>
   <elementRef key="countryminOccurs="0"
    maxOccurs="1"/>

  </sequence>
  <elementRef key="addrLineminOccurs="2"
   maxOccurs="4"/>

 </alternate>
</content>

22.6 Class Specifications

<content>
 <alternate>
  <elementRef key="hi"/>
  <elementRef key="it"/>
  <elementRef key="bo"/>
 </alternate>
</content>

22.6 Class Specifications

<content>
 <sequence>
  <elementRef key="hi"/>
  <elementRef key="it"/>
  <elementRef key="bo"/>
 </sequence>
</content>

<content>

<content>
 <alternate>
  <classRef key="model.pLike"
   maxOccurs="unbounded"/>

  <sequence>
   <elementRef key="summaryminOccurs="0"
    maxOccurs="1"/>

   <elementRef key="msItem"
    maxOccurs="unbounded"/>

  </sequence>
 </alternate>
</content>

<sequence>

<content>
 <sequence>
  <alternate>
   <elementRef key="name"/>
   <elementRef key="persName"/>
  </alternate>
  <elementRef key="placeNameminOccurs="0"
   maxOccurs="5"/>

 </sequence>
</content>

<alternate>

<content>
 <alternate>
  <elementRef key="name"/>
  <elementRef key="persName"/>
 </alternate>
</content>

<textNode>

<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <textNode/>
  <elementRef key="hi"/>
  <elementRef key="seg"/>
 </alternate>
</content>

<empty>

<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <empty/>
  <elementRef key="hi"/>
 </alternate>
</content>

22.8.1 TEI customizations

<schemaSpec ident="example">
 <moduleRef key="core"
  except="add del orig reg"/>

 <elementRef key="linkGroup"/>
 <elementRef key="link"/>
</schemaSpec>

1 The TEI Infrastructure


1.3.1.1.4 Sources, certainty, and responsibility

<elementRef key="psource="tei:2.0.1"/>

1.3.1.1.4 Sources, certainty, and responsibility

<elementRef key="p"
 source="http://www.tei-c.org/Vault/P5/2.0.1/xml/tei/odd/p5subset.xml"/>

att.global.source

<elementRef key="psource="tei:2.0.1"/>

23 Using the TEI


23.5.1 Making a Unified ODD

<elementSpec ident="figure">
<!-- ... -->
 <content>
  <alternate minOccurs="0"
   maxOccurs="unbounded">

   <classRef key="model.pLike"/>
   <classRef key="model.global"/>
   <elementRef key="figure"/>
   <elementRef key="figDesc"/>
   <classRef key="model.graphicLike"/>
   <classRef key="model.headLike"/>
  </alternate>
 </content>
<!-- ... -->
</elementSpec>

23.5.2 Generating Schemas

<elementSpec ident="sp">
<!-- ... -->
 <content>
  <classRef key="model.global"
   minOccurs="0maxOccurs="unbounded"/>

  <sequence minOccurs="0maxOccurs="1">
   <elementRef key="speaker"/>
   <classRef key="model.global"
    minOccurs="0maxOccurs="unbounded"/>

  </sequence>
 </content>
<!-- ... -->
</elementSpec>