<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" 
            omit-xml-declaration="yes"
            indent="yes" />
<xsl:template match="/images">

<xsl:text disable-output-escaping="yes">
&lt;body bgcolor="#ffffff"&gt;
</xsl:text>

<font color="gray"><h3 align="center">
EXPORT COMPLETED<br/> This page was exported from the <a href="http://digital.lib.umn.edu">Digital Collections Database</a> for the University of Minnesota Libraries.
</h3></font><br />

<font face="arial">
<h2 align="center">Exported Data Records</h2>
</font>

<xsl:for-each select="image">

<hr width="100%" />
<xsl:text disable-output-escaping="yes">
  &lt;!-- NEW ITEM RECORD BEGINS HERE ---&gt;
</xsl:text>

<br />
<font face="arial">
<table width="100%" border="0" cellpadding="5">

<tr>
<td colspan="2" width="100%" align="center" valign="top">
<font face="arial" size="+2"><b>Item Record <xsl:text>&nbsp;</xsl:text><xsl:value-of select="digitalid"/></b></font><br /><br />
</td>
</tr>


<tr>
	<td width="150" align="center" valign="top">
<img><xsl:attribute name="src"><xsl:value-of select="thmbimg/thmbpath"/></xsl:attribute><xsl:attribute name="width">140</xsl:attribute></img>
	</td>

	<td align="left" valign="top">

		<table bgcolor="#cccccc">

	<tr><td valign="top">
<b>Load <xsl:variable name="format" select="refimg/refformat"/> <xsl:value-of select="substring-before($format,'/')"/><xsl:text> :</xsl:text></b>
	</td><td valign="top">
	<a><xsl:attribute name="href"><xsl:value-of select="refimg/refpath"/></xsl:attribute><xsl:value-of select="refimg/refpath"/></a>
	</td></tr>
	
	<xsl:for-each select="title">
	<tr><td valign="top">
	<b>Title: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="caption">
	<tr><td valign="top">
	<b>Caption: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="creator">
	<tr><td valign="top">
	<b>Creator: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="contrib">
	<tr><td valign="top">
	<b>Contributor: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="descript">
	<tr><td valign="top">
	<b>Owner's Description: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="imgyear">
	<tr><td valign="top">
	<b>Date: </b></td><td valign="top"><xsl:value-of select="@display"/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="imgperiod">
	<tr><td valign="top">
	<b>Period: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>	
	</xsl:for-each>

	<xsl:for-each select="holding">
	<tr><td valign="top">
	<b>Held by: </b></td><td valign="top"><xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="userights">
	<tr><td valign="top">
	<b>Copyright: </b></td><td valign="top"> <xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<xsl:for-each select="relatedurx">
	<tr><td valign="top">
	<b>Related Resource: </b></td>
	<td valign="top"> <xsl:value-of select="@relation"/><xsl:text>&nbsp;</xsl:text>
	<a>
	<xsl:attribute name="href">
	<xsl:value-of select="."/>
	</xsl:attribute>
	<xsl:value-of select="."/>
	</a><br />
	</td></tr>
	</xsl:for-each>
	

	<xsl:for-each select="published">
	<tr><td valign="top">
	<b>Published: </b></td><td valign="top"> <xsl:value-of select="."/></td></tr>
	</xsl:for-each>

	<tr><td valign="top">
	<b>My Comments: </b></td>
	<td><font color="red"><b>
        <xsl:text disable-output-escaping="yes">
          &lt;!-- MY COMMENTS --&gt;
        </xsl:text>

        <xsl:value-of select="annotation"/>

	<p> </p>
	</b></font>
	</td>
	</tr>
	
		</table>
	</td>
</tr>
</table>
</font>

</xsl:for-each>

</xsl:template>
	
</xsl:stylesheet>