Tools Home : XML Tools : Find Dates

Click here to show HTML tools HTML Tools

Click here to expand XML tools XML tools

Click here to expand plain text tools Plain Text Tools

Click here to expand other tools Other tools

 Beta tools
 Add Tools Demo

Date Finder

This tool extracts dates from an XML document, either from a web address or uploaded from the user’s files. Users can choose to extract all dates, or limit the results to years, months, weeks, seasons, North American holidays or user defined dates such as specific months, weeks, seasons or holidays.

Please click the ? buttons at the bottom right of each set of options for more information on that set.

For further information on this tool, please see the TADA Wiki's Date Finder entry here. A glossary of terms is also available here.


To generate a list of all dates found in, searching only the text found between <para> and </para>, and display the results as an HTML page:
  1. Source text
    1. Enter ‘’ into the ‘URL’ field.
  2. Subtext limited to
    1. Enter ‘para’ in the ‘Elements’ field, leaving ‘Attribute name’ and ‘Attribute value’ blank.
  3. Dates limited to
    1. Click the radio button next to ‘All dates’.
    2. Results
      1. Set the ‘Display as’ field to ‘HTML’.
    3. Click the ‘Submit’ button to process the text.
» Source text


This section determines the source of the document you wish the tool to process. XML can be obtained either from a web address or by uploading a file.


Source URL
To use content from a web page, enter a full web address (URL) ending in .html in the field provided. Copy and paste from your browser’s address bar for best results.

Local file
To upload an XML (.xml) file from your computer, choose ‘Local file,’ click ‘Browse,’ and select the file you wish to use from your directory.
» Subtext limited to

This section determines which elements to extract text from. Users can also specify the attribute name or name/value pair modifying the element.


Determines which XML elements to extract text from. Multiple tags must be separated by commas. This field cannot be left blank.

Attribute name
Use this field to specify an attribute name that modifies the element listed above. Only instances the element with this attribute will have text extracted from them.

Attribute value
Use this field to specify an attribute value modifying the element and attribute name listed above. The attribute value must be paired with an attribute name. Only instances the element with this attribute name/value pair modifying it will have text extracted from them.
» Date limited to


This section determines what date types to search for within the document.


All dates
Extracts dates from all categories (years, months, seasons and holidays) from the source text.

Extracts only years from the source text.

Extracts only months from the source text.

Extracts only seasons from the source text.

North American holidays (national and statutory)
Extracts only North American holidays from the source text.

User date
Allows users to search for specific dates or holidays in the source text; this field is particularly useful for searching holidays not recognized in North America. Separate multiple dates or holidays with commas.
» Results

This section allows users to choose how the results will be formatted, and whether to display it in a new browser window.


Display as
This drop-down lists enables users to format the results as HTML or tab delimited text.

Open results in new window
Checking this box will display the results in a new window. This option is selected by default. Some pop-up blockers may prevent a new window from being opened; if so, un-check the box to open the results in the same window instead.
`*' indicates a required field



TAPoRware Project, McMaster University,