Suggestion for using <mark> tag instead of <def l="">
This is the same article after inserting the mark tag. The value of mark tag can be stored
in the database as one column and I think it is more simple to understand. The values of mark
tags help to specify the order of each definition in the article and to distinguish the
differencies in each definition.
Notice (from the point of view of pocket or bigger bilingual dictionary) :
dtrn type 'explanation' is very rarely used, but I agree that it is a different xml information,
so it should be stored in different xml tag.
This example is just suggestion's correction :). Other newly proposed tags are used after this example. After correction (see bellow before correction)
<ar>
<head><k>be</k></head>
<def>
<tr>biː</tr>
<mark>1.</mark>
<pos>verb</pos>
<transitivity>intransitive</transitivity>
<mark>a)</mark>
<dtrn>exist</dtrn>
<ex>I think therefore I am.</ex>
<mark>b)</mark>
<dtrn>equal</dtrn>
<ex>Seeing is beleiving.</ex>
<mark>c)</mark>
<dtrn>has the given property</dtrn>
<mark>2</mark>
<pos>auxiliary verb</pos>
<mark>a)</mark>
<dtrn type="explanation">passive voice auxiliary</dtrn>
<ex>the die is cast</ex>
<mark>b)</mark>
<dtrn type="explanation">continuous tense auxiliary</dtrn>
<ex>she is writing</ex>
</def>
</ar>From logical format, manual, example 7. And before correction
<ar>
<head><k>be</k></head>
<def>
<tr>bɪː</tr>
<def l="1">
<pos>verb</pos>
<transitivity>intransitive</transitivity>
<def l="a">
<dtrn>exist</dtrn>
<ex>I think therefore I am.</ex>
</def>
<def l="b">
<dtrn>equal</dtrn>
<ex>Seeing is beleiving.</ex>
</def>
<def l="c">
<dtrn>has the given property</dtrn>
</def>
</def>
<def l="2">
<pos>auxiliary verb</pos>
<def l="a">
<dtrn type="explanation">passive voice auxiliary</dtrn>
<ex>the die is cast</ex>
</def>
<def l="b">
<dtrn type="explanation">continuous tense auxiliary</dtrn>
<ex>she is writing</ex>
</def>
</def>
<m>
<tense>present</tense>
<mood>indicative</mood>
<number>plural</number>
<k>are</k>
</m>
<m>
<tense>past</tense>
<mood>subjunctive</mood>
<k>were</k>
</m>
</def>
</ar>