Child pages
  • The View Structured Text Action Group

Versions Compared

Key

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

...

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

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Document Header</title>
  </head>
<body>

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

	<div>
		<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>
	</div>

	<div>
		<h3>Tufts DL Document ID number:</h3>
		<p>tufts:central:dca:UA069:UA069.005.DO.00001</p>
	</div>
</body>
</html>

...

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:

Code Block
xml
xml

 http://repository01.lib.tufts.edu:8080/fedora/get/tufts:UA069.005.DO.00001/bdef:TuftsTextAssetDef/viewChunk?chunkID=num00001

...


A complete list of valid request parameters for a given text is available via the viewTOC action.                
 , see the example above.

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

Code Block
xml
xml