<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I'm working on a proper DTD for a new dictionary project (DE-EU). I
    made the decision to have my entries structured in
    part-of-speech-sections:<br>
    <br>
    &lt;order_element elementname="Lemma"&gt;<br>
        &lt;order_element elementname="Section"&gt;<br>
            &lt;order_element elementname="Sense"&gt;<br>
                &lt;order_element elementname="TE"&gt;<br>
    <br>
    German bilingual dictionaries often are organized like this; An
    example, sections begin with roman numbers:<br>
    <br>
    <meta http-equiv="CONTENT-TYPE" content="text/html;
      charset=ISO-8859-15">
    <p class="hiztegiadibide-western" lang="eu"><font color="#000070"><font
          face="Linux Libertine O"><font size="3"><b>absetzen
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font size="2"><i><span
                style="font-weight: normal">brz.
              </span></i></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>I </b></font></font></font><font color="#ff0000"><font
          face="Linux Libertine O"><font size="3"><i><span
                style="font-weight: normal">tr./h</span></i></font></font></font><font
        color="#000070"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">
            </span></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>1</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><i><span style="font-weight: normal">(txapela,
                betaurrekoak) </span></i></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="3"><b>kendu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>;
            </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>erantzi</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>2</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><i><span style="font-weight: normal">(zama,
                bidaiari) </span></i></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="3"><b>utzi</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>;
            </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>laga</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>3</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>kargugabetu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>4</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><span
        style="font-variant: small-caps"><font color="#800080"><font
            face="Linux Libertine O"><font style="font-size: 9pt"
              size="2"><span style="font-style: normal"><span
                  style="font-weight: normal">Ekon</span></span></font></font></font></span><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b> </b></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="3"><b>saldu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>5</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><span
        style="font-variant: normal"><font color="#000070"><font
            face="Linux Libertine O"><font style="font-size: 11pt"
              size="2"><b>
                &#9679; </b></font></font></font></span><span
        style="font-variant: normal"><font color="#000070"><font
            face="Linux Libertine O"><font style="font-size: 11pt"
              size="2"><i><span style="font-weight: normal">von
                  der Steuer absetzen </span></i></font></font></font></span><span
        style="font-variant: normal"><font color="#066606"><font
            face="Linux Libertine O"><font size="3"><span
                style="font-style: normal"><span style="font-weight:
                  normal">zergatik
                  kendu</span></span></font></font></font></span><span
        style="font-variant: normal"><font color="#000070"><font
            face="Linux Libertine O"><font style="font-size: 11pt"
              size="2"><span style="font-style: normal"><span
                  style="font-weight: normal">
                </span></span></font></font></font></span><font
        color="#000000"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>6</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b> </b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><i><span
                style="font-weight: normal">(sendagaia)
              </span></i></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">(</span></font></font></font><font
        color="#003500"><font face="Linux Libertine O"><font size="3"><b>hartzeari</b></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">)
            </span></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>utzi</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>7</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><i><span style="font-weight: normal">(filmea,
                antzezlana) </span></i></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">(</span></font></font></font><font
        color="#003500"><font face="Linux Libertine O"><font size="3"><b>karteletik</b></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">)
            </span></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>kendu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>II </b></font></font></font><font
        color="#ff0000"><font face="Linux Libertine O"><font size="3"><i><span
                style="font-weight: normal">intr./h</span></i></font></font></font><font
        color="#000070"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">
            </span></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><i><span style="font-weight: normal">(hitz
                egiten, idazten) </span></i></font></font></font><font
        color="#066606"><font face="Linux Libertine O"><font size="3"><b>eten</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>;
            </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>gelditu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>III </b></font></font></font><font
        color="#ff0000"><font face="Linux Libertine O"><font size="3"><i><span
                style="font-weight: normal">rflx./h</span></i></font></font></font><font
        color="#000070"><font face="Linux Libertine O"><font size="2"><span
              style="font-weight: normal">
            </span></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>1</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#800000"><font
          face="Linux Libertine O"><font size="2"><i><span
                style="font-weight: normal">lgart.</span></i></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>a</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>ihes
              egin</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>;
            </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>hanka
              egin</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>b</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>erbesteratu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font><font color="#000000"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b>2</b></font></font></font><font color="#062a06"><font
          face="Linux Libertine O"><font style="font-size: 11pt"
            size="2"><b> </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>jalki</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>;
            </b></font></font></font><font color="#066606"><font
          face="Linux Libertine O"><font size="3"><b>sedimentatu</b></font></font></font><font
        color="#062a06"><font face="Linux Libertine O"><font
            style="font-size: 11pt" size="2"><b>
            </b></font></font></font>
    </p>
    <title></title>
    <meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
    <style type="text/css">
        <!--
                @page { margin: 2cm }
                P.hiztegiadibide-western { margin-left: 2.14cm; margin-right: 1.89cm; text-indent: -0.42cm; margin-top: 0.4cm; margin-bottom: 0.4cm; background: #ffffff; border: 1px solid #000000; padding-top: 0.25cm; padding-bottom: 0.4cm; padding-left: 0.4cm; padding-right: 0.4cm; color: #000000; font-family: "Linux Biolinum O"; font-size: 10pt; so-language: eu; font-style: normal; font-weight: bold; page-break-inside: avoid; widows: 0; orphans: 0 }
                P.hiztegiadibide-cjk { margin-left: 2.14cm; margin-right: 1.89cm; text-indent: -0.42cm; margin-top: 0.4cm; margin-bottom: 0.4cm; background: #ffffff; border: 1px solid #000000; padding-top: 0.25cm; padding-bottom: 0.4cm; padding-left: 0.4cm; padding-right: 0.4cm; color: #000000; font-family: "DejaVuSans"; font-size: 12pt; so-language: zxx; page-break-inside: avoid; widows: 0; orphans: 0 }
                P.hiztegiadibide-ctl { margin-left: 2.14cm; margin-right: 1.89cm; text-indent: -0.42cm; margin-top: 0.4cm; margin-bottom: 0.4cm; background: #ffffff; border: 1px solid #000000; padding-top: 0.25cm; padding-bottom: 0.4cm; padding-left: 0.4cm; padding-right: 0.4cm; color: #000000; font-family: "Tahoma"; font-size: 12pt; so-language: zxx; page-break-inside: avoid; widows: 0; orphans: 0 }
                P { margin-top: 0.2cm; margin-bottom: 0.2cm; background: transparent; border: none; padding: 0cm; direction: ltr; color: #000000; line-height: 0.6cm; text-align: justify; widows: 3; orphans: 3; text-decoration: none; page-break-before: auto }
                P.western { font-family: "Linux Libertine O"; font-size: 12pt; so-language: eu; font-style: normal }
                P.cjk { font-family: "DejaVuSans"; font-size: 12pt; so-language: zxx }
                P.ctl { font-family: "Tahoma"; font-size: 12pt; so-language: zxx }
                A:visited { color: #280099 }
                A.western:visited { so-language: de-DE }
                A.cjk:visited { so-language: zh-CN }
                A.ctl:visited { so-language: hi-IN }
                A:link { color: #280099 }
                A.western:link { font-family: "Linux Libertine O"; font-size: 10pt }
                A.cjk:link { font-size: 9pt }
        -->
        </style>My problem is that my "section" element brings a gap between
    the lemma sign and the TE, so the Reverse function won't add any
    TE's to the created entries, as it seems that the Reverse function
    only looks in the direct parent of a TE for its equivalent
    LemmaSign.<br>
    <br>
    Any ideas to solve this? For example, can I create a dummy lemmasign
    in every "Section" that ist automatically copied from its parent
    "Lemma", could this work?<br>
    <br>
    Thanks in advance for any advice! And thanks for this great
    software!<br>
    <br>
    David Lindemann<br>
    <br>
    ***<br>
    <br>
    David Lindemann<br>
    UPV-EHU University of the Basque Country<br>
    PhD candidate<br>
  </body>
</html>