Tools Home : XML Tools : List Words

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

List Words within Specified Element

This tool is used to list words found within an XML document, either located at a specified web address or in a document uploaded from the user’s files.

The document’s subtext can be limited to specific XML tags, and then filtered further by applying a pattern of words or using regular expressions, searching only for the words on a user-provided list, or excluding words from TAPoR’s modified Glasgow Stop Words list.

The query results can be displayed alphabetically, by frequency, by order of appearance, or in reversed alphabetical order.

Note: When a custom list of words is applied to the text, the tool’s resulting word list order will match the order of that custom list regardless of the sort criteria specified under Results.

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 List Words entry here. A glossary of terms is also available here.


To extract words from, process only the text between the <para> and </para> tags, filter out words that appear in the modified Glasgow Stop Words list and sort the results by frequency:
  1. Source text
    1. Enter ‘’ into the ‘URL’ field.
  2. Subtext limited to
    1. Enter ‘para’ in the ‘Elements’ field.
    2. Click the radio button next to ‘Words not in the list below
    3. Click the radio button next to ‘Use modified Glasgow Stop Words
  3. Results
    1. Select ‘By Frequency’ from the 'Sort' drop-down menu..
  4. 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.
» Words limited to
(use `,' as delimiter)

(use `,' as delimiter)

This section applies limits to the source text based on specific XML elements and word filtering techniques.


Specify which XML elements to look within, such as ‘body’ or ‘p’. Multiple elements may be listed, separated by a comma. This field defaults to ‘body,’ which will provide all body text from the source.

All words
All words from within the specified element will be included in the word list.

Words matching pattern
Only words matching a regular expression provided by the user will be included in the word list.

Words in the list below
Only words specified by the user will be included in the list. Type the list of desired words in manually or upload a text (.txt) file containing their list.

Words not in the list below
Only words not in a user-specified list or the modified Glasgow Stop Words list will be included in the final list. To use a custom list, type it in manually or upload a text (.txt) file containing the list.

Word list typed in
Type a list of words separated by commas into this field to include or exclude those words from the final list. To include the typed words, choose ‘Words in the list below’, and to exclude them, choose ‘Words not in the list below’.

Text file with words
Use this field to upload a text (.txt) file of words to include or exclude. The list must be separated by commas (ex: red, orange, green, purple). To include only the words contained within the text file in the final list, choose ‘Words in the list below.’ To exclude the words instead, choose ‘Words not in the list below.’

Use modified Glasgow Stop Words
Choose this option to filter the modified Glasgow Stop Words list out of the final list.
» Results


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


Sort criteria
This drop-down lists enables users to choose from several sort options: Alphabetically, Order of first appearance, By frequency, or By reversed alphabetic order.

Apply inflectional stemmer
Click this box to have the tool process each word as its root (ex: waited, waiting, waits would be processed as ‘wait’). Please note that his option will slow the tool down proportional to the size of the text being processed.

Display as
This drop-down lists enables users to choose from several output formats: HTML, XML tree, and Tab delimited text.

Display top ___ words distribution over each %5 of text
This drop-down lists enables users to choose whether to include word distribution statistics for the top words in the final list. Options include None, 5, 10, 20 or 50 words.

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,