...
A suggested structure of the xX/HTML is as follows:
Code Block | ||||
---|---|---|---|---|
| ||||
<?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 lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Table of Contents of this text</title> </head> <body> <div id="Identifier of the parent object" title="Label/Title of the parent object"> <h1>Label/Title of the parent object: Table of Contents</h1> <a href="fully formed call to *viewChunk* with the appropriate _chunkID_">Label/Title of the chunk</a> <br /> <a href="fully formed call to *viewChunk* with the appropriate _chunkID_">Label/Title of the chunk</a> <br /> </div> </body> </html> |
AssetActionsDevelopment:View a complete stand-alone example of a viewTOC response.
Some notes about the structure:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?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> |
AssetActionsDevelopment:View a complete stand-alone example of a viewHeader response.
Some notes about the structure:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?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>Encyclopedia<title>Title/Label of Tuftsthe parent Historydocument: Title/Label of OLDESTthe BUILDINGS<chunk</title> </head> <body> <div id="tufts:central:dca:UA069:UA069.005.DO.00014"> <div> <h1>OLDEST BUILDINGS</h1> <p>Perhaps the very first light which shone from the Hill came from a kerosene or even whale oil lamp used by some student "burning the midnight oil" in Ballou Hall, then known simply as the College Edifice or College Hall. When Tufts opened its doors, Ballou Hall stood alone on this hilltop. The seven young men who made up the entire student body in 1854 lived, worked and worshipped in this one building which, a half century later, was named for the first president of Tufts College, Hosea Ballou, 2d.<<h1>Title/Label of the chunk</h1> <p>Text of the chunk</p> </div> </body> </html> |
AssetActionsDevelopment:View a complete stand-alone example of a viewChunk response
Some notes about the structure:
- The X/HTML must be valid
- There must be an X/HTML document header
- There must be a <head><title>
- The <body> markup can vary