This documentation is archived and is not being maintained.

Lt Element

SharePoint 2003

The Lt element is an arithmetic operator that means "less than" and is used in queries in views. This element is used similarly to Eq and Gt.



Element Relationships

Parent ElementsChild Elements
And , Or , Where FieldRef , Value


Remember that Collaborative Application Markup Language (CAML) is case sensitive; note the lowercase "t" in this element's name.


The following example queries for cases where the Deadline field value either equals an empty string or is less than the current date.

        <FieldRef Name="Deadline" />
        <FieldRef Name="Deadline" />
        <Value Type="DateTime">
          <Today />
    <FieldRef Name="Modified" Ascending="FALSE" />

Related Topics