Esempio: <ptr> (puntatore)

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

3 Elements Available in All TEI Documents


3.6 Simple Links and Cross-References

<p>For an introduction
to the use of links in general, see <ptr target="#SA"/>.
The complete XPointer specification is managed by the W3C<note place="foot">
  <ptr
    target="http://www.w3.org/TR/xptr-framework/"/>
,
 <ptr target="http://www.w3.org/TR/xptr-element/"/>,
 <ptr target="http://www.w3.org/TR/xptr-xmlns/"/>, and
 <ptr
    target="http://www.w3.org/TR/xptr-xpointer/#xpointer(id('chum'))"/>

 </note>;
for a discussion of TEI schemes for XPointer, see
<ptr target="#SATS"/>.</p>

3.6 Simple Links and Cross-References

See in particular <ptr target="#SEC12"/>.

3.6 Simple Links and Cross-References

<list>
 <item>Saints aid rejected in mel. <ptr target="#p299"/>
 </item>
 <item>Sallets censured <ptr target="#p143 #p144"/>
 </item>
 <item>Sanguine mel. signs <ptr target="#p263"/>
 </item>
 <item>Scilla or sea onyon, a purger of mel. <ptr target="#p442"/>
 </item>
</list>

3.6 Simple Links and Cross-References

Similar forms, often called
<term rend="ldquo rdquo">rewriting systems</term>, have a long history
among mathematicians, but the specific form of <ptr target="#fig22"/>
was first studied extensively by Chomsky <ptr type="bibliog" target="#chom59"/>.

<!-- ... -->
<figure xml:id="fig22">
 <graphic url="fig22.jpg"/>
</figure>
<!-- elsewhere, in the bibliography -->
<bibl xml:id="chom59">
<!-- citation for the book referenced above -->
</bibl>

<ptr>

<ptr target="#p143 #p144"/>
<ptr target="http://www.tei-c.org"/>

<ptr>

<ptr target="#fr_p143 #fr_p144"/>
<ptr target="http://www.tei-c.org"/>

3.11.3 Bibliographic Pointers

As shown above (<ptr target="#NEL80"/>) ...

1 The TEI Infrastructure


1.3.1.1.2 Language Indicators

<ptr target="x12" targetLang="fr"/>

1.3.1.1 Global Attributes

<body>
 <div
   xml:base="http://www.example.org/somewhere.xml">

  <p>
<!--... -->
   <ptr target="#p1"/>
<!--... -->
  </p>
 </div>
 <div>
  <p>
<!--... -->
   <ptr target="#p1"/>
<!--... -->
  </p>
 </div>
</body>

att.pointing

<linkGrp xml:id="pol-swh_aln_2.1-linkGrp">
 <ptr
   xml:id="pol-swh_aln_2.1.1-ptr"
   target="pol/UDHR/text.xml#pol_txt_1-head"
   type="tuv"
   targetLang="pl"/>

 <ptr
   xml:id="pol-swh_aln_2.1.2-ptr"
   target="swh/UDHR/text.xml#swh_txt_1-head"
   type="tuv"
   targetLang="sw"/>

</linkGrp>

2 The TEI Header


2.3.8 The Application Information Element

<appInfo>
 <application version="1.5" ident="ImageMarkupTool" notAfter="2006-06-01">
  <label>Image Markup Tool</label>
  <ptr target="#P1"/>
  <ptr target="#P2"/>
 </application>
</appInfo>

<appInfo>

<appInfo>
 <application version="1.24" ident="Xaira">
  <label>XAIRA Indexer</label>
  <ptr target="#P1"/>
 </application>
</appInfo>

<application>

<appInfo>
 <application version="1.5" ident="ImageMarkupTool1" notAfter="2006-06-01">
  <label>Image Markup Tool</label>
  <ptr target="#P1"/>
  <ptr target="#P2"/>
 </application>
</appInfo>

<application>

<appInfo>
 <application version="1.24" ident="Xaira">
  <label>XAIRA Indexer</label>
  <ptr target="#fr_HD"/>
 </application>
</appInfo>

<application>

<appInfo>
 <application version="1.5" ident="ImageMarkupTool1" notAfter="2006-06-01">
  <label>影像標記工具</label>
  <ptr target="#P1"/>
  <ptr target="#P2"/>
 </application>
</appInfo>

4 Default Text Structure


4.5 Front Matter

<div type="contents">
 <head>Contents</head>
 <list>
  <item>Introduction, or How I stopped Worrying and Learned to Love
     Interpretation <ptr target="#fish1"/>
  </item>
  <item>
   <list>
    <head>Part One: Literature in the Reader</head>
    <item n="1">Literature in the Reader: Affective Stylistics
    <ptr target="#fish2"/>
    </item>
    <item n="2">What is Stylistics and Why Are They Saying Such
         Terrible Things About It? <ptr target="#fish3"/>
    </item>
   </list>
  </item>
 </list>
</div>
<div xml:id="fish1">
 <head>Introduction</head>
<!-- .... -->
</div>
<div xml:id="fish2">
 <head>Literature in the Reader</head>
<!-- .... -->
</div>
<div xml:id="fish3">
 <head>What is stylistics?</head>
<!-- .... -->
</div>

4.7 Back Matter

<item>Alehouses, not
the efficient cause of drunkenness, <ref target="#P461">461</ref>
</item>
<item>Alehouses, not the efficient cause of drunkenness, <ptr target="#P461"/>
</item>

9 Dictionaries


9.3.4 Etymological Information

<entry>
<!-- ... -->
 <etym>
  <lang>F</lang> fr. <lang>ML</lang>
  <mentioned>pneuma</mentioned>
  <mentioned>neuma</mentioned> fr. <lang>Gk</lang>
  <mentioned>pneuma</mentioned>
  <gloss>breath</gloss>
  <xr type="etym">more at <ptr target="#pneumatic"/>
  </xr>
 </etym>
 <sense>
  <def>any of various symbols used in the notation of Gregorian chant
<!-- ... -->
  </def>
 </sense>
</entry>
<!-- ... -->
<entry xml:id="pneumatic">
 <etym>
<!-- ... -->
 </etym>
</entry>

9.3.5.3 Cross-References to Other Entries

<entry>
 <form>
  <orth>glee</orth>
 </form>
 <xr>Compare <ptr target="#madrigal.1"/>
 </xr>
</entry>
<entry xml:id="madrigal.1">
 <form>
<!-- ... -->
 </form>
</entry>

9.3.5.3 Cross-References to Other Entries

<def>contenant un vice de forme ou passé par un <ptr target="#incapable"/>.</def>

9.5.2 Lexical View

<entry>
 <form>
  <orth>pinna</orth>
  <pron>"pIn@</pron>
  <form type="inflected">
   <number>pl</number>
   <form>
    <orth type="lat">pinnae</orth>
    <pron>'pIni:</pron>
   </form>
   <orth type="std">pinnas</orth>
  </form>
 </form>
 <gramGrp>
  <pos>n</pos>
 </gramGrp>
 <sense n="1">
  <def>any leaflet of a pinnate compound leaf.</def>
 </sense>
 <sense n="2">
  <usg type="dom">Zoology</usg>
  <def>a feather, wing, fin, or similarly shaped part.</def>
 </sense>
 <sense n="3">
  <xr type="syn">
   <ptr target="#auricle.2"/>
  </xr>
 </sense>
 <etym>
  <date>C18</date>: via <lang>New Latin</lang> from <lang>Latin</lang>:
 <gloss>wing</gloss>, <gloss>feather</gloss>, <gloss>fin</gloss>
 </etym>
</entry>

11 Representation of Primary Sources


11.3.4.5 Transpositions

<line>
 <seg xml:id="ib01">bör</seg>
 <metamark
   rend="underline"
   function="transposition"
   target="#ib01"
   place="above">
2.</metamark> og <seg xml:id="ib02">hör</seg>
 <metamark
   rend="underline"
   function="transposition"
   target="#ib02"
   place="above">
1.</metamark>
</line>
<listTranspose>
 <transpose>
  <ptr target="#ib02"/>
  <ptr target="#ib01"/>
 </transpose>
</listTranspose>

11.3.4.5 Transpositions

<line xml:id="ib3">
 <metamark function="transposition" place="margin-left">2.)</metamark> thi da er du med Himmelen i Pagt; —
</line>
<line xml:id="ib4">
 <metamark function="transposition" place="margin-left">1.)</metamark> da kan du
Folkets Jøkelhjerter tine;
</line>
<listTranspose>
 <transpose>
  <ptr target="#ib4"/>
  <ptr target="#ib3"/>
 </transpose>
</listTranspose>

<listTranspose>

<listTranspose>
 <transpose>
  <ptr target="#ib02"/>
  <ptr target="#ib01"/>
 </transpose>
</listTranspose>

<transpose>

<transpose>
 <ptr target="#ib02"/>
 <ptr target="#ib01"/>
</transpose>

12 Critical Apparatus


12.1.4.3 The Witness List

<listWit>
 <witness xml:id="El">Ellesmere, Huntingdon Library 26.C.9</witness>
 <witness xml:id="Hg">Hengwrt, National Library of Wales,
   Aberystwyth, Peniarth 392D</witness>
 <witness xml:id="Ra2">Bodleian Library Rawlinson Poetic 149
   (see further <ptr target="http://example.com/msDescs#MSRP149"/>)</witness>
</listWit>

<listWit>

<listWit>
 <witness xml:id="HL26">Ellesmere, Huntingdon Library 26.C.9</witness>
 <witness xml:id="PN392">Hengwrt, National Library of Wales,
   Aberystwyth, Peniarth 392D</witness>
 <witness xml:id="RP149">Bodleian Library Rawlinson Poetic 149
   (see further <ptr target="#MSRP149"/>)</witness>
</listWit>

<witness>

<listWit>
 <witness xml:id="EL">Ellesmere, Huntingdon Library 26.C.9</witness>
 <witness xml:id="HG">Hengwrt, National Library of Wales,
   Aberystwyth, Peniarth 392D</witness>
 <witness xml:id="RA2">Bodleian Library Rawlinson Poetic 149
   (see further <ptr
    target="http://www.examples.com/MSdescs#MSRP149"/>
)</witness>
</listWit>

13 Names, Dates, People, and Places


<climate>

<place xml:id="ROMA">
 <placeName>Rome</placeName>
<!-- ... -->
 <climate>
  <ab>
   <table>
    <head>24-hr Average Temperature</head>
    <row>
     <cell/>
     <cell role="label">Jan</cell>
     <cell role="label">Jun</cell>
     <cell role="label">Dec</cell>
    </row>
    <row>
     <cell role="label">°C</cell>
     <cell role="data">7.1</cell>
     <cell role="data">21.7</cell>
     <cell role="data">8.3</cell>
    </row>
    <row>
     <cell role="label">°F</cell>
     <cell role="data">44.8</cell>
     <cell role="data">71.1</cell>
     <cell role="data">46.9</cell>
    </row>
   </table>
  </ab>
  <note>Taken from <bibl>
    <abbr>GHCN 2 Beta</abbr>: The Global Historical Climatology Network,
       version 2 beta, 1904 months between 1811 and 1980. <ptr
      target="http://www.worldclimate.com/cgi-bin/data.pl?ref=N41E012+1202+0004058G2"/>

   </bibl>
  </note>
 </climate>
</place>

14 Tables, Formulæ, Graphics and Notated Music


14.2 Formulæ and Mathematical Expressions

<p>The volume of a
sphere is given by the formula:
<formula xml:id="f12" n="12" rend="inline">
  <m:math>
   <m:mi>V</m:mi>
   <m:mo>=</m:mo>
   <m:mfrac>
    <m:mrow>
     <m:mn>4</m:mn>
    </m:mrow>
    <m:mrow>
     <m:mn>3</m:mn>
    </m:mrow>
   </m:mfrac>
   <m:mi>π</m:mi>
   <m:msup>
    <m:mrow>
     <m:mi>r</m:mi>
    </m:mrow>
    <m:mrow>
     <m:mn>3</m:mn>
    </m:mrow>
   </m:msup>
  </m:math>
 </formula>
which is readily calculated.</p>
<p>As we have seen in equation
<ptr target="#f12"/>, ... </p>

14.3 Notated music in written text

<notatedMusic>
 <ptr target="bar1.xml"/>
</notatedMusic>

14.3 Notated music in written text

<notatedMusic>
 <ptr target="bar1.xml"/>
 <desc>First bar of Chopin's Scherzo No.3 Op.39</desc>
</notatedMusic>

14.3 Notated music in written text

<notatedMusic>
 <ptr
   target="bar1.xml"
   mimeType="application/vnd.recordare.musicxml"/>

 <desc>First bar of Chopin's Scherzo No.3 Op.39. Encoded in MusicXML.</desc>
</notatedMusic>

14.3 Notated music in written text

<notatedMusic>
 <ptr target="bar1.ly"/>
 <desc>First bar of Chopin's Scherzo No.3 Op.39. Encoded in Lilypond.</desc>
</notatedMusic>

14.3 Notated music in written text

<notatedMusic>
 <ptr target="bar1.mscz" mimeType="application/x-musescore"/>
 <desc>First bar of Chopin's Scherzo No.3 Op.39. MuseScore Notation Software format.</desc>
</notatedMusic>

14.3 Notated music in written text

<notatedMusic>
 <ptr target="bar1.xml"/>
 <graphic url="bar1.jpg"/>
 <desc>First bar of Chopin's Scherzo No.3 Op.39</desc>
</notatedMusic>

14.3 Notated music in written text

<div n="67">
 <p> We now give some examples, from the works of the great masters,
   of some of the most frequently used bowings.
 </p>
 <figure n="Ex. 3">
  <head>SCHUBERT: Symphony in B minor.</head>
  <notatedMusic>
   <ptr target="example_schubert.xml"/>
  </notatedMusic>
 </figure>
</div>

<notatedMusic>

<notatedMusic>
 <ptr target="bar1.xml"/>
 <graphic url="bar1.jpg"/>
 <desc>First bar of Chopin's Scherzo No.3 Op.39</desc>
</notatedMusic>

14.4 Specific Elements for Graphic Images

<ptr xml:id="PD1" target="Fig1.svg#object1"/>
<ptr xml:id="PD2" target="Fig1.svg#object2"/>

16 Linking, Segmentation, and Alignment


16.1.1 Pointers and Links

<ptr xml:id="sa-p1" target="#sa-p2"/>
<ptr xml:id="sa-p2" target="#sa-p1"/>

16.1.2 Using Pointers and Links

<l>(Diff'rent our parties, but with equal grace</l>
<l>The Goddess smiles on Whig and Tory race,
<ptr rend="unmarked" target="#note3.284"/>
</l>
<l>'Tis the same rope at sev'ral ends they twist,</l>
<l>To Dulness, Ridpath is as dear as Mist)</l>
<note
  xml:id="note3.284"
  type="imitation"
  place="bottom"
  anchored="false">

 <bibl>Virg. Æn. 10.</bibl>
 <quote>
  <l>Tros Rutulusve fuat; nullo discrimine habebo.</l>
  <l>—— Rex Jupiter omnibus idem.</l>
 </quote>
</note>

16.1.4 Intermediate Pointers

<ptr xml:id="L3.283-284" target="#L3.283 #L3.284"/>

16.2.3 W3C element() Scheme

<div
  xml:base="/Users/martin/Documents/c5/namelessShakespeare.xml">

 <p>
  <ptr target="#element(sha-ham301/22/2)"/>
 </p>
</div>

16.2.4.2 xpath1(Expr)

<ptr
  target="http://tinyurl.com/267z62/xml/2004/Thompson01/EML2004Thompson01.xml#xpath1(//ftnote[@id='fn6']/para[1])"/>

16.2.4.3 left() and right()

<p
  xml:base="http://www.mulberrytech.com/Extreme/Proceedings/xml/2002/">

 <ptr
   target="Usdin01/EML2002Usdin01.xml#right(element(/1/1/3/3/6))"/>

</p>

16.2.5.2 Complete and Partial URI Examples

<refsDecl xml:id="USC">
 <cRefPattern
   matchPattern="([0-9][0-9])\s*U\.?S\.?C\.?\s*[Cc](h(\.|ap(ter|\.)?)?)?\s*([1-9][0-9]*)"
   replacementPattern="http://uscode.house.gov/download/pls/$1C$5.txt">

  <p>Matches most standard references to particular
     chapters of the United States Code, e.g.
  <val>11USCC7</val>, <val>17 U.S.C. Chapter 3</val>, or
  <val>14 USC Ch. 5</val>. Note that a leading zero is
     required for the title (must be two digits), but is not
     permitted for the chapter number.</p>
 </cRefPattern>
 <cRefPattern
   matchPattern="([0-9][0-9])\s*U\.?S\.?C\.?\s*[Pp](re(lim(inary)?)?)?\s*[Mm](at(erial)?)?"
   replacementPattern="http://uscode.house.gov/download/pls/$1T.txt">

  <p>Matches references to the preliminary material for a
     given title, e.g. <val>11USCP</val>, <val>17 U.S.C.
       Prelim Mat</val>, or <val>14 USC pm</val>.</p>
 </cRefPattern>
 <cRefPattern
   matchPattern="([0-9][0-9])\s*U\.?S\.?C\.?\s*[Aa](ppend(ix)?)?"
   replacementPattern="http://uscode.house.gov/download/pls/$1A.txt">

  <p>Matches references to the appendix of a given tile,
     e.g. <val>05USCA</val>, <val>11 U.S.C. Appendix</val>,
     or <val>18 USC Append</val>.</p>
 </cRefPattern>
</refsDecl>
<!-- ... -->
<p>The example in section <ptr target="#SABN"/> is taken
from <ref cRef="17 USC Ch 1">Subject Matter and Scope of
   Copyright</ref>.</p>

<anchor>

<s>The anchor is he<anchor xml:id="A234"/>re somewhere.</s>
<s>Help me find it.<ptr target="#A234"/>
</s>

<anchor>

<s>L'ancre est i<anchor xml:id="fr_A234"/>ci quelque part.</s>
<s>Aidez-moi à la trouver.<ptr target="#fr_A234"/>
</s>

<anchor>

<s>此錨點指向這<anchor xml:id="zh-tw_A234"/></s>
<s>請搜尋此處<ptr target="#zh-tw_A234"/>
</s>

16.7 Aggregation

<text>
 <body>
<!-- five div1 elements -->
  <div1>
   <p>Zui-Gan called out to himself every day, <q>Master.</q>
   </p>
   <p>Then he answered himself, <q>Yes, sir.</q>
   </p>
   <p>And then he added, <q>Become sober.</q>
   </p>
   <p>Again he answered, <q>Yes, sir.</q>
   </p>
   <p>
    <q>And after that,</q> he continued, <q>do not be deceived by others.</q>
   </p>
   <p>
    <q>Yes, sir; yes, sir,</q> he replied.</p>
   <ab type="aggregation">
    <ptr xml:id="rzuiq1" target="./#xpath1(//div1[6]/p[1]/q[1])"/>
    <ptr xml:id="rzuiq2" target="./#xpath1(//div1[6]/p[2]/q[1])"/>
    <ptr xml:id="rzuiq3" target="./#xpath1(//div1[6]/p[3]/q[1])"/>
    <ptr xml:id="rzuiq4" target="./#xpath1(//div1[6]/p[4]/q[1])"/>
    <ptr xml:id="rzuiq5" target="./#xpath1(//div1[6]/p[5]/q[1])"/>
    <ptr xml:id="rzuiq6" target="./#xpath1(//div1[6]/p[5]/q[2])"/>
    <ptr xml:id="rzuiq7" target="./#xpath1(//div1[6]/p[6]/q[1])"/>
    <joinGrp evaluate="one" result="q">
     <join target="#rzuiq1 #rzuiq2 #rzuiq4 #rzuiq7">
      <desc>what Zui-Gan said</desc>
     </join>
     <join target="#rzuiq3 #rzuiq5 #rzuiq6">
      <desc>what Master said</desc>
     </join>
    </joinGrp>
   </ab>
  </div1>
 </body>
</text>

19 Graphs, Networks, and Trees


19.4 Representing Textual Transmission

<eTree type="hypothetical">
 <label>α</label>
 <eTree type="hypothetical">
  <label>β</label>
  <eTree type="hypothetical">
   <label>δ</label>
   <eLeaf type="extant">
    <label>L</label>
   </eLeaf>
   <eLeaf type="lost">
    <label>t</label>
   </eLeaf>
  </eTree>
  <eTree type="hypothetical">
   <label>ε</label>
   <eLeaf type="extant">
    <label>R</label>
   </eLeaf>
   <eLeaf type="extant">
    <label>A</label>
    <ptr type="contamination" target="#gamma"/>
   </eLeaf>
  </eTree>
 </eTree>
 <eTree xml:id="gamma" type="hypothetical">
  <label>γ</label>
  <eLeaf type="extant">
   <label>I</label>
  </eLeaf>
  <eLeaf type="extant">
   <label>X</label>
  </eLeaf>
 </eTree>
</eTree>

22 Documentation Elements


22.1.2 Element and Attribute Descriptions

<div3>
 <head>Element and attribute descriptions</head>
 <p>Within the body of a document using this module, the following
   elements may be used to reference parts of the specification elements
   discussed in section <ptr target="#TDcrystals"/>, in particular the
   brief prose descriptions these provide for elements and attributes.
 <specList>
   <specDesc key="specList"/>
   <specDesc key="specDesc"/>
  </specList>
 </p>
 <p>TEI practice requires that a <gi>specList</gi> listing the elements
   ...
 </p>
<!-- ... -->
</div3>

22.4.1 Description of Components

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

<listRef>

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

<listRef>

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