Entry files for the nationalholiday plugin
The format is simple. It is a standard xml file. So all tags must closed. A
handy tool for checking closed tags is the xmllint utility provided by
libxml2.
Each xml file is enclosed by:
...
Each tag should be follwed by a short description tag:
The description will probably be used later on. Follow the description with
the enclosure:
...
Insert your holidays in either fixed or floating format. A fixed holiday entry
has the form:
A floating holiday entry has the form:
... calc entries ..
The calc entries may have the following tags:
date - A short date (without Year!) in the form M-D or the special string
"easter"
offset - A signed integer. This will added (or substracted) after all other
calculations are made.
weekday - The day of week as in "monday', "tuesday", "wednesday", "thursday",
"friday", "saturday" or "sunday".
dayofmonth - Used in combination with weekday tag. You can use "first",
"second", "third", "fourth" or "last".
month - Used in combination with weekday and/or dayofmonth eg. "january",
"february" and so on.
datedep - Used in combination with date and/or weekday, may "before" or "after".
example calculation entry:
this will calculate sunday before christmas eve or christmas eve itself if it is a sunday.
see german.xml or any of the .xml files in this directory for futher examples.