logo
WXT, a Web and Xml Tool
from Ostfold College
: Introduction > Documentation > The Script >Dating

Dating elements in the script

All elements in the script may have a limited lifespan. You can spesify the first and last date for the element to be used. This is controlled by two attributes that are not documented for each element.

Optional attributes for all elements

firstdate The first day this element will be used
lastdate The last day this element will be used

The form of the attributes are: yyyy-mm-dd. You may use one, both or none. If none of them is present the element is valid at all times.

Examples:

  <page name="Solutions" firstdate="20050401">
    ...
  </page>
  ...
  <property name="greetings" firstdate="2005-12-24" lastdate="2006-01-01">
    Merry Xmas
  </property>

WXT, a Web and Xml Tool from Ostfold College: http://www.ia.hiof.no/~borres/wxtdoc/


Bygget med WXT : 11.jan.2009