Like all elements, <entry> inherits an xml:id attribute from the class global. No restrictions are placed on the method used to construct xml:ids; one convenient method is to use the orthographic form of the headword, appending a disambiguating number where necessary. Identification codes are sometimes included on machine-readable tapes of dictionaries for in-house use.
It is recommended to use the <sense> element even for an entry that has only one sense to group together all parts of the definition relating to the word sense since this leads to more consistent encoding across entries.
Example
<entry><form><orth>disproof</orth><pron>dIs"pru:f</pron></form><gramGrp><pos>n</pos></gramGrp><sense n="1"><def>facts that disprove something.</def></sense><sense n="2"><def>the act of disproving.</def></sense></entry>