Text Class Processing Instructions
From DLXS Documentation
(Difference between revisions)
Revision as of 11:00, 23 September 2007
Main Page > Mounting Collections: Class-specific Steps > Mounting a Text Class Collection > Working with the Text Class User Interface > Text Class Processing Instructions
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 Text Class XML Templates Files)
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:
<p class="markupsnip"><Item><br> <HEADER><br> <FILEDESC><br> <TITLESTMT><br> <TITLE TYPE="245"><br> Dalmatia : the land where East meets West. / By Holbach, Maude M.<br> </TITLE><br> <AUTHOR> Holbach, Maude M. </AUTHOR><br> </TITLESTMT><br> <EXTENT>ca. 875 kb</EXTENT><br> <PUBLICATIONSTMT><br> <PUBLISHER><br> University of Michigan Digital Library Production Services<br> </PUBLISHER><br> <PUBPLACE>Ann Arbor, Michigan</PUBPLACE><br> <DATE>1999</DATE><br> <IDNO TYPE="dlps">aas7611.0001.001</IDNO><br> <AVAILABILITY><br> <P><br> 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.<br> </P><br> </AVAILABILITY><br> </PUBLICATIONSTMT><br> <SOURCEDESC><br> <BIBLFULL><br> <TITLESTMT><br> <TITLE TYPE="main"><br> Dalmatia : the land where East meets West. / By Holbach, Maude M.<br> </TITLE><br> <AUTHOR> Holbach, Maude M. </AUTHOR><br> </TITLESTMT><br> <EDITIONSTMT><br> <EDITION> 3rd ed. </EDITION><br> </EDITIONSTMT><br> <PUBLICATIONSTMT><br> <PUBLISHER>J. Lane,</PUBLISHER><br> <PUBPLACE>London :</PUBPLACE><br> <DATE>1910.</DATE><br> </PUBLICATIONSTMT><br> </BIBLFULL><br> </SOURCEDESC><br> </FILEDESC><br> <ENCODINGDESC><br> <EDITORIALDECL N="4"><br> <P>All words that are broken by a page-break are joined and placed before the page-break.</P><br> <P><br> In the electronic edition all footnotes have been inserted into the text at the place where the footnote marker appears in the printed edition.<br> </P><br> </EDITORIALDECL><br> </ENCODINGDESC><br> <PROFILEDESC><br> <TEXTCLASS><br> <KEYWORDS><br> <TERM> Dalmatia (Croatia) Description and travel. </TERM><br> </KEYWORDS><br> <CLASSCODE/><br> </TEXTCLASS><br> </PROFILEDESC><br> </HEADER><br> <HitSummary><br> <HitCount>24</HitCount><br> <HitRegion>full text</HitRegion><br> </HitSummary><br> <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<br> </DetailHref><br> <AuthRequired>false</AuthRequired><br> <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<br> </TocHref><br> <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<br> </ViewEntireTextLink><br> <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<br> </BookbagAddHref><br> <DocEncodingType>monograph</DocEncodingType><br> <ItemIdno>aas7611.0001.001</ItemIdno><br> <ItemEncodingLevel>4</ItemEncodingLevel><br> </Item><br /> <Item><br> ...<br> </Item>