Child pages
  • The View Structured Text Action Group

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


View a stand-alone example of a getTOC viewTOC response.

Some notes about the structure:


Returns the header information for a text as valid X/HTML; it is assumed that this header will provide information about the text as a whole.

A suggested structure of the  x/HTML is as follows:

Code Block

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
    <title>Document Header</title>

	<div id="Identifier of the parent object" title="Label/Title of the parent object">
		<h1>Label/Title of the parent object: Document Header</h1>

		<h3>Document title statement:</h3>
		<p>Concise Encyclopedia of Tufts History<br/>Anne Sauer<br/>compiled by:<br/>Anne Sauer<br/>Jessica Branco<br/>John Bennett<br/>Zachary Crowley</p>

		<h3>Tufts DL Document ID number:</h3>

View a stand-alone example of a viewHeader response.


Returns a logical chunk of a text, such as a chapter, as valid X/HTML.  This assumes that a request parameter (chunkID) is passed. For example, the actionable URL for a viewChunk call might look as follows:  A complete list of valid request parameters for a given text is available via the viewTOC action.