Up: Elements reference



<letter> – a letter (root element)

Attributes:

from
unique signature of the author
formal
"true" for “formal letter” or "false"
xml:lang
human language (default: "en")
id
unique name (identifier)
style/class
style properties and class (e.g. for CSS)

Possible Contents: city, date, to, subject, opening, block element*, closing

Description: Embraces all elements of a letter.

from can be e.g. "Torsten Bronger". It should be your personal id and should be globally unique, as far as one can guarantee that. Because this attribute is used by the stylesheets to ensure that they are responsible for you (correct letter head etc).1 Moreover the owner attribute in the address book must match it.

If you don't set formal explicitly, the default is taken from the address book entry (even if you gave an explicit “to”-address and so overruled the address book entry). If even that fails, "false" (private letter) is assumed.

Example

     <letter from="Torsten Bronger &lt;torsten.bronger@gmx.de&gt;">
       <city>Aachen</city>
       <date>2. September 2002</date>
       <to nickname="Jupp"/>
       <subject>Party!</subject>
     
       <opening>Hi Jupp,</opening>
     
       <p>...</p>
     
       <closing>Till then,</closing>
     </letter>

Footnotes

[1] In a letter system that is better configurable than the current, this attribute is used to read in the correct parameters such as the letter head.