Example: <textNode>

These search results reproduce every example of the use of <textNode> 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 <textNode> 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


<elementSpec>

<elementSpec module="tagdocsident="code">
 <gloss/>
 <desc>contains literal code</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>the language of the code</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<elementSpec>

<elementSpec module="tagdocs"
 xml:id="fr_Codeident="code">

 <desc>contient le code littéral</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>la langue du code</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<elementSpec>

<elementSpec module="tagdocsident="code">
 <gloss/>
 <desc>包含文字規則</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>規則的表達方式</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<macroSpec>

<macroSpec module="teitype="pe"
 ident="macro.phraseSeq">

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

   <textNode/>
   <classRef key="model.gLike"/>
   <classRef key="model.phrase"/>
   <classRef key="model.global"/>
  </alternate>
 </content>
</macroSpec>

22.5.1 Defining Content Models

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

  <classRef key="model.gLike"/>
  <textNode/>
 </alternate>
</content>

<textNode>

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

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

<anyElement>

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

  <textNode/>
  <anyElement require="http://www.tei-c.org/ns/Examples/1.0"/>
 </alternate>
</content>

23 Using the TEI


23.3.1.3 Modification of Content Models

<elementSpec ident="termmodule="core"
 mode="change">

 <content>
  <textNode/>
 </content>
</elementSpec>

23.5.4.1 Macros

<macroSpec module="teitype="pe"
 ident="macro.phraseSeq">

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

   <textNode/>
   <classRef key="model.gLike"/>
   <classRef key="model.phrase"/>
   <classRef key="model.global"/>
  </alternate>
 </content>
</macroSpec>