Sub Navigation

Print this Page. Send this Page.

How to mark up a single entry

A single entry is enclosed by a division of the type entry: <div type="entry"></div>. Inside the entry, there are the title of the entry in <head></head> and the text of the article in <div type="article"></div>. The text itself must be embedded in paragraphs <p></p>.

The keywords assigned to an entry are indicated in the subtype of the entry-division. If more than one keyword is assigned, they should be divided by underscore: subtype="education_history".

Xml-id: In order to make references from other parts to this entry possible, a unique ID is given to the title of the entry in the following way: <head><term xml:id="[unique-id]">[title]</term></head>.

Gloss: In many cases, an article starts with a definition-like sentence. This sentence is marked up by <gloss></gloss>. The gloss tag should take the attributes rend and target. The attribute rend contains how the defining sentence is rendered in the document, in most cases the value will be: "unmarked". The attribute target describes the target which is defined. This is normally a link to the xml:id we set in the entry title. Links begin with #.

Example from Brockhaus Conversations-Lexicon, 13th ed.:

  1.       <div type="entry" subtype="education">
  2.         <head>
  3.           <term xml:id="education">ERZIEHUNG</term>
  4.         </head>
  5.         <div type="article">
  6.           <p><gloss rend="unmarked" target="#education">Erziehung ist eine absichtliche Einwirkung der Erwachsenen auf die Unmundigen, welche dem geistigen Leben der letztern eine bestimmte Gestaltung geben will.</gloss>
  7.             Alte E. setzt einerseits die Bildsamkeit des Zoglings und die dem Erzieher inne-wohnende Erkenntnis der Mittel voraus, deren Anwendung zu jenem Ziele fuhrt. Andererseits ist sie von dem Ziele, von dem Ideal der Personlichkeit abhangig, welches dem Erzieher vorschwebt.
  8.             ...
  9.           </p>
  10.         </div>
  11.       </div>

Search