datechoice (Domino DTD)

Searches a database based on date parameters.

Containment Hierarchy

Contained by: %searches;

Contains: <datetime>

Syntax

<!ELEMENT datechoice ( datetime?, datetime? )>

Attributes

<!ATTLIST datechoice

modified

%boolean;

"false"

condition

(%datechoice.conditions;)

#REQUIRED

days

%integer;

#IMPLIED

>

condition

Condition to use to choose dates or date ranges.

days

Number of days. Specify this attribute if the condition attribute equals inlast, innext, olderthan, or afternext.

modified

If true, specifies to search for design elements that have been modified within the specified time parameters.

Defined entity for <datechoice> element

The %datechoice.conditions; entity defines options for defining searches based on dates.

Syntax:

<!ENTITY % datechoice.conditions "on | after | before | noton | inlast | innext | olderthan | afternext | between | notbetween ">

after

Searches for items having dates that fall after the specified date. You must specify one <datetime> element.

afternext

Searches based on dates that fall after the specified number of days in the future. You must specify a number of days in the days attribute of <datechoice>.

before

Searches for items having dates that fall before the specified date. You must specify one <datetime> element.

between

Searches based on dates that fall between a specified date range. You must specify the date range using two <datetime> elements.

inlast

Searches based on dates that fall within the specified number of days in the past. You must specify a number of days in the days attribute of <datechoice>.

innext

Searches based on dates that fall within the specified number of days in the future. You must specify a number of days in the days attribute of <datechoice>.

notbetween

Searches based on dates that fall outside of a specified date range. You must specify the date range using two <datetime> elements.

noton

Searches for items having dates that are not the specified date. You must specify one <datetime> element.

olderthan

Searches based on dates that fall before the specified number of days in the past. You must specify a number of days in the days attribute of <datechoice>.

on

Searches based on the specified date. You must specify one <datetime> element.