The Get Structured Text Action Group

Provides a basic set of functions for simple access to bits of the XML structured text in its native markup language.  There is an assumption that the markup includes at least rudimentary structural definition.  These functions provide users or applications with the basic building blocks to begin using the text in its native markup if desirable.  The available functions mirror those of the View Structured Text Action Group and provide a means to: obtain a well-formed XML summary of the logical units of content contained within a text (a table of contents), obtain a well-formed XML  fragment of any descriptive or explanatory information contained in the document header of the text, and obtain a well-formed XML fragment of any individual logical unit of content contained within a text.

Function Type: text/xml

getTOC

Returns a logical table of contents for a text as well-formed XML (based on a generic <div> structure).  The table of contents contains actionable URLs for each unit of content of a text.  These URLs could be fully formed calls to getChunk (see example). 

getHeader

Returns the native markup language header (for example, TEI, EAD, DOCBOOK) for an entire text as a whole; it is assumed that this header will provide information about the text as a whole. 

 getChunk 

Returns a logical chunk of a text, such as a chapter, as native XML in a generic <div> wrapper; this assumes that a request parameter is passed (the chunkID).