Text Class Processing Instructions (PIs)

Processing Instructions (PIs) are used in TextClass XML templates. They are replaced by the running cgi with valid XML, sometimes a simple string (e.g., a URL, or a text string), sometimes with a complex node of XML elements. (For more information about PIs, see XML Templates / Processing Instructions.)

For example the PI <?BOOKBAG_LINK_XML?> is replaced by the cgi with a URL such as
http://hostname/cgi/t/text/text-idx?c=sampletc;cc=sampletc;page=bbaglist

The PI <?RESULTS?> is replaced by the cgi with something like:

<Item>
<HEADER>
<FILEDESC>
<TITLESTMT>
<TITLE TYPE="245">
Dalmatia : the land where East meets West. / By Holbach, Maude M.
</TITLE>
<AUTHOR> Holbach, Maude M. </AUTHOR>
</TITLESTMT>
<EXTENT>ca. 875 kb</EXTENT>
<PUBLICATIONSTMT>
<PUBLISHER>
University of Michigan Digital Library Production Services
</PUBLISHER>
<PUBPLACE>Ann Arbor, Michigan</PUBPLACE>
<DATE>1999</DATE>
<IDNO TYPE="dlps">aas7611.0001.001</IDNO>
<AVAILABILITY>
<P>
These pages may be freely searched and displayed. Permission must be received for subsequent distribution in print or electronically. Please contact moa-info@umich.edu for more information.
</P>
</AVAILABILITY>
</PUBLICATIONSTMT>
<SOURCEDESC>
<BIBLFULL>
<TITLESTMT>
<TITLE TYPE="main">
Dalmatia : the land where East meets West. / By Holbach, Maude M.
</TITLE>
<AUTHOR> Holbach, Maude M. </AUTHOR>
</TITLESTMT>
<EDITIONSTMT>
<EDITION> 3rd ed. </EDITION>
</EDITIONSTMT>
<PUBLICATIONSTMT>
<PUBLISHER>J. Lane,</PUBLISHER>
<PUBPLACE>London :</PUBPLACE>
<DATE>1910.</DATE>
</PUBLICATIONSTMT>
</BIBLFULL>
</SOURCEDESC>
</FILEDESC>
<ENCODINGDESC>
<EDITORIALDECL N="4">
<P>All words that are broken by a page-break are joined and placed before the page-break.</P>
<P>
In the electronic edition all footnotes have been inserted into the text at the place where the footnote marker appears in the printed edition.
</P>
</EDITORIALDECL>
</ENCODINGDESC>
<PROFILEDESC>
<TEXTCLASS>
<KEYWORDS>
<TERM> Dalmatia (Croatia) Description and travel. </TERM>
</KEYWORDS>
<CLASSCODE/>
</TEXTCLASS>
</PROFILEDESC>
</HEADER>
<HitSummary>
<HitCount>24</HitCount>
<HitRegion>full text</HitRegion>
</HitSummary>
<DetailHref>http://pagliere.dev.umdl.umich.edu/cgi/t/text/text-idx?c=sampletc;cc=sampletc;type=simple;rgn=full%20text;q1=prince;debug=xml;view=reslist;subview=detail;sort=occur;start=1;size=25;didno=aas7611.0001.001
</DetailHref>
<AuthRequired>false</AuthRequired>
<TocHref>http://pagliere.dev.umdl.umich.edu/cgi/t/text/text-idx?c=sampletc;cc=sampletc;q1=prince;rgn=full%20text;debug=xml;view=toc;idno=aas7611.0001.001
</TocHref>
<ViewEntireTextLink>http://pagliere.dev.umdl.umich.edu/cgi/t/text/text-idx?c=sampletc;cc=sampletc;q1=prince;rgn=full%20text;debug=xml;page=viewtextnote;idno=aas7611.0001.001
</ViewEntireTextLink>
<BookbagAddHref>http://pagliere.dev.umdl.umich.edu/cgi/t/text/text-idx?c=sampletc;cc=sampletc;q1=prince;rgn=full%20text;debug=xml;bbidno=aas7611.0001.001;bbc=sampletc;bbaction=add
</BookbagAddHref>
<DocEncodingType>monograph</DocEncodingType>
<ItemIdno>aas7611.0001.001</ItemIdno>
<ItemEncodingLevel>4</ItemEncodingLevel>
</Item>
<Item>
...
</Item>