<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0"
     xmlns:rng="http://relaxng.org/ns/structure/1.0"
     xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
	<title>TEI for Laurent</title>
	<author>Laurent Romary</author>
      </titleStmt>
      <publicationStmt>
	<p> </p>
      </publicationStmt>
      <sourceDesc>
	<p>experiment by LR</p>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
  <text>
    <body>
	<schemaSpec ident="romary">
	  <moduleRef xmlns="http://www.tei-c.org/ns/1.0" key="header"/>
	  <moduleRef xmlns="http://www.tei-c.org/ns/1.0" key="core"/>
	  <moduleRef xmlns="http://www.tei-c.org/ns/1.0" key="tei"/>
	  <moduleRef xmlns="http://www.tei-c.org/ns/1.0" key="textstructure"/>
	  <moduleRef xmlns="http://www.tei-c.org/ns/1.0" key="dictionaries"/>
	  <!-- Definition of the <diachrony> element (inspired from re) -->
	  <!-- By default, I assume that mode="add"; am I right? NO.-->
	  <elementSpec xmlns="http://www.tei-c.org/ns/1.0" module="dictionaries" 		       ident="diachrony" mode="add">
	    <desc>contains the description of the historical information attached to a dictionary entry,
	    and organized as a hierarchy of possibly dated and referenced senses.</desc>
	    <classes>
	      <!-- The following makes this element automatically available in <entry> -->
	      <memberOf key="tei.dictionaryTopLevel"/>
	      <memberOf key="tei.dictionaryParts"/>
	      <memberOf key="tei.dictionaries"/>
	    </classes>
	    <content>
	      <rng:zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
		<rng:choice>
		  <rng:text/>
		  <!-- organized as a hierarchy of senses -->
		  <rng:ref name="sense"/>
		  <!-- can contain any top level element (even diachrony!; which may not be desirable) -->
		  <rng:ref name="tei.dictionaryTopLevel"/>
		  <!-- Bibliographical elements such as <bibl> can be used -->
		  <rng:ref name="tei.bibl"/>
		  <!-- Rem.: we have dates, since tei.date is a member of tei.phrase -->
		  <rng:ref name="tei.phrase"/>
		  <rng:ref name="tei.Incl"/>
		</rng:choice>
	      </rng:zeroOrMore>
	    </content>
	    <exemplum>
	      <p>The example below corresponds to the Etym. and Hist. section of the entry
	      "pamplemousse" in the TLFi: this section reads as follows:<q>1. a) 1677 pampelmous
	      «fruit comestible, peu juteux, d'un arbre épineux originaire des îles de l'océan
	      Indien» (Fr. de L'Estra, Relation ou Journal d'un voyage fait aux Indes
	      Orientales, p.107 ds König); ca 1685 pamplemousse (J. Bouvet, Voiage de Siam,
	      éd. J. C. Gatty, Leiden, 1963, p.68); b) 1772 «arbre qui produit ce fruit»
	      (Chambors, Dissertation sur le jardinage de l'Orient, p.77 ds Fr. mod. t.6,
	      1938, p.255); 2. a) 1946 «fruit du Citrus paradisi de grande taille, jaune, de
	      goût acide» (J. Brichet, Pamplemousse ou Pomelo ... ds Fruits d'outre-mer, no
	      10, p.297 d'apr. M. Chauvet ds Journal d'agric. traditionnelle et de bot.appl.,
	      t.27, 1980, p.67); b) 1962 «arbre qui produit ce fruit» (Rob.). Empr. au néerl.
	      pompelmoes, fém., au sens 1 a, qui est prob. comp.de pompel «gros, enflé» et de
	      limoes «citron» (Boulan, p.148; König, pp.159-160). Apparaît d'abord dans des
	      textes fr. qui le donnent comme mot néerl.: 1665 pompelmoes (J. Le Carpentier,
	      L'Ambassade de la Compagnie orientale des Provinces Unies... [trad. d'un ouvrage
	      néerl.], II, p.88 ds Arv.); 1666 pompelmous (M. Thévenot, Relation de divers
	      voyages curieux... t.3 ds König).</q>, and can be encoded in the following way:</p>
	      <!-- To be checked against the schema that will be generated from this extension file -->
	      <egXML xmlns="http://www.tei-c.org/ns/Examples">
		<entry>
		  <form>
		    <orth>pamplemousse</orth>
		  </form>
		  <diachrony>
		    <sense n="1">
		      <sense n="a">
			<date>1677</date>
			<form>
			  <orth>pampelmous</orth>
			</form>
			<def>fruit comestible, peu juteux, d'un arbre épineux originaire des
			îles de l'océan Indien</def>
			<bibl>Fr. de L'Estra, Relation ou Journal d'un voyage fait aux Indes
			Orientales, p.107 ds König</bibl>
			<sense>
			  <date>1685</date>
			  <form>
			    <orth>pamplemousse </orth>
			  </form>
			  <bibl>J. Bouvet, Voiage de Siam, éd. J. C. Gatty, Leiden, 1963, p.68</bibl>
			</sense>
		      </sense>
		      <sense n="b">
			<date>1772</date>
			<def>arbre qui produit ce fruit</def>
			<bibl>Chambors, Dissertation sur le jardinage de l'Orient, p.77 ds
			Fr. mod. t.6, 1938, p.255</bibl>
		      </sense>
		    </sense>
		    <sense n="2">
		      <sense n="a">
			<date>1946</date>
			<def>fruit du Citrus paradisi de grande taille, jaune, de goût acide</def>
			<bibl>J. Brichet, Pamplemousse ou Pomelo ... ds Fruits d'outre-mer,
			no 10, p.297 d'apr. M. Chauvet ds Journal d'agric.
			traditionnelle et de bot.appl., t.27, 1980, p.67</bibl>
		      </sense>
		      <sense n="b">
			<date>1962</date>
			<def>arbre qui produit ce fruit</def>
			<bibl>Rob.</bibl>
		      </sense>
		      <etym>
			<!-- mode d'enrichissement lexical : emprunt --> Empr. au néerl.
			pompelmoes, fém., au sens 1 a, qui est prob. comp.de pompel «gros,
			enflé» et de limoes «citron» (Boulan, p.148; König, pp.159-160).
			Apparaît d'abord dans des textes fr. qui le donnent comme mot
			néerl.: 1665 pompelmoes (J. Le Carpentier, L'Ambassade de la
			Compagnie orientale des Provinces Unies... [trad. d'un ouvrage
			néerl.], II, p.88 ds Arv.); 1666 pompelmous (M. Thévenot, Relation
			de divers voyages curieux... t.3 ds
		      König). </etym>
		    </sense>
		  </diachrony>
		</entry>
	      </egXML>
	    </exemplum>
	    <remarks>
	      <p rend="dataDesc">May contain character data mixed with any other elements defined in
	      the dictionary tag set.</p>
	      <p>Very close in sub-elements to an <gi>entry</gi> or <gi>re</gi> element.</p>
	    </remarks>
	  </elementSpec>
	  <!-- I just change the <sense> element so that it can contain
	       tei.bibl objects. This is needed to indicate the actual
	       source where the corresponding sense or expression has been
	       observed. We may as well officialize this extension in the
	       main DI spec...  -->
	  <elementSpec xmlns="http://www.tei-c.org/ns/1.0" module="dictionaries" 		       ident="sense" mode="change">
	    <content>
	      <rng:zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
		<rng:choice>
		  <rng:text/>
		  <rng:ref name="sense"/>
		  <rng:ref name="tei.dictionaryTopLevel"/>
		  <rng:ref name="tei.bibl"/>
		  <rng:ref name="tei.phrase"/>
		  <rng:ref name="tei.Incl"/>
		</rng:choice>
	      </rng:zeroOrMore>
	    </content>
	  </elementSpec>
	</schemaSpec>
    </body>
  </text>
</TEI>



