Findaid Class Processing Instructions

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search

Revision as of 15:01, 24 July 2007

Processing Instructions (PIs) are used in FindaidClass 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 <a href="../../ui/index.html#templates"> XML Templates / Processing Instructions.</a>)

For example the PI <?BOOKBAG_LINK_XML?> is replaced by the cgi with a URL such as
http://hostname/cgi/f/findaid/findaid-idx?c=collection;cc=collection;q1=xyz;rgn=Entire%20Finding%20Aid;page=bbaglist

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

<Item>
<did>
<origination>
<corpname source="lcnaf" encodinganalog="110">
A. Alfred Taubman College of Architecture and Urban Planning
</corpname>
</origination>
<unittitle encodinganalog="245">
A. Alfred Taubman College of Architecture and Urban Planning (University of Michigan), records
<unitdate type="inclusive" era="ce" calendar="gregorian" encodinganalog="245$f">1878-1999</unitdate>
</unittitle>
<physdesc>
<extent encodinganalog="300">
54.5 linear feet, 1 oversized box, and 1 flat file drawer.
</extent>
</physdesc>
<abstract>
Teaching and research unit of the University of Michigan established in 1906 as a part of the Department of Engineering and as an independent college in 1931. Records include dean's administrative files and correspondence, committee minutes, background files and reports relating to accreditation, topical files, faculty portraits and other photographs, and architectural drawings. There is some material relating to alumnus Raoul Wallenberg and various programs honoring him.
</abstract>
<unitid type="call number" countrycode="us" repositorycode="MiU-H" encodinganalog="099">8782 Bimu C181;2</unitid>
<langmaterial>
The materials are in
<language langcode="eng" encodinganalog="041">English.</language>
</langmaterial>
<repository>
<corpname encodinganalog="852">
<subarea>Bentley Historical Library</subarea>
University of Michigan
</corpname>
<extptr linktype="simple" href="bhladd" show="embed" actuate="onload"/>
</repository>
</did>
<HitSummary>
<HitCount>1</HitCount>
<HitRegion>Entire Finding Aid</HitRegion>
</HitSummary>
<KwicLink>http://www.hti.umich.edu/cgi/f/findaid/findaid-idx?c=bhlead;cc=bhlead;type=simple;rgn=Entire%20Finding%20Aid;q1=duderstadt;debug=xml;view=reslist;subview=detail;sort=occur;didno=umich-bhl-8782
</KwicLink>
<OutlineLink>http://www.hti.umich.edu/cgi/f/findaid/findaid-idx?c=bhlead;cc=bhlead;type=simple;rgn=Entire%20Finding%20Aid;q1=duderstadt;debug=xml;view=reslist;subview=standard;sort=occur;start=1;size=25;didno=umich-bhl-8782
</OutlineLink>
<FileSize>376</FileSize>
<ViewEntireTextLink>http://www.hti.umich.edu/cgi/f/findaid/findaid-idx?c=bhlead;cc=bhlead;q1=duderstadt;rgn=Entire%20Finding%20Aid;debug=xml;page=viewtextnote;didno=umich-bhl-8782
</ViewEntireTextLink>
<BookbagAddHref>http://www.hti.umich.edu/cgi/f/findaid/findaid-idx?c=bhlead;cc=bhlead;q1=duderstadt;rgn=Entire%20Finding%20Aid;debug=xml;bbidno=umich-bhl-8782;bbc=bhlead;bbaction=add
</BookbagAddHref>
</Item>
<Item>
...
</Item>
...

 

Personal tools