1 - Text Documents and XML tags

Text Document
Iliad

1.1-7

translated by Lance Jenott

April 2004

Sing, oh goddess, about the wrath of Achilles son of Peleus,
the accursed wrath which cast a myriad of pain upon the Achaeans
and sent forth many noble souls of heroes to Hades,
making them prey for dogs and all birds.
The will of Zeus was fulfilled,
when, in fact, the two men first parted ways in strife,
the son of Atreus, ruler of men, and god-like Achilles.
This is an example of a regular text document with no special tags added.


XML Document
<document>

<header>
     <title>Iliad</title>
     <book>1.</book>
     <verses>1-7</verses>
     <translator>Lance Jenott</translator>
     <date>
          <month>April</month>
          <year>2004</year>
     </date>
</header>

<poem>
     <line>Sing, oh goddess, about the wrath of Achilles son of Peleus,</line>
     <line>the accursed wrath which cast a myriad of pain upon the Achaeans</line>
     <line>and sent forth many noble souls of heroes to Hades,</line>
     <line>making them prey for dogs and all birds.</line>
     <line>The will of Zues was fulfilled,</line>
     <line>when, in fact, the two men first parted ways in strife,</line>
     <line>the son of Atreus, ruler of men, and god-like Achilles.</line>
</poem>

</document>
This is an example of the same text document with XML tags added. The owner of the document can name the tags whatever he or she desires in order to deliminate elements of the text. Every opening tag must be accompanied by a closing tag of the same name, for example <document> ... </document>