<?xml version="1.0"?>

<!-- File Name: Opdracht.xsl -->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>XML dbase</TITLE>
</HEAD>
<BODY>
<A NAME="top"/>
<DIV ALIGN="left"><FONT FACE="verdana" SIZE="2">
<B>Full Listing - (XSLT en Schema)</B> - 
Total Records in current dbase:
<xsl:value-of select="sum(ISBD/ITEM/SN-RECORD)"/><BR/><BR/>
</FONT></DIV>


<xsl:apply-templates select="ISBD/ITEM">
<xsl:sort select="TYPE-PROPER" data-type="text" order="ascending"/>
<xsl:sort select="TITLE-PROPER" data-type="text" order="ascending"/>

</xsl:apply-templates>

</BODY>
</HTML>
</xsl:template>

<xsl:template match="ISBD/ITEM">
<DIV ALIGN="left">
<FONT FACE="verdana">
<table border="1" cellpadding="4" cellspacing="0" width="100%" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" bgcolor="#000000">
	<tr>

      <td width="100%" colspan="2" bgcolor="#000000">
        <font color="#FFFFFF"><B><xsl:value-of select="TITLE-PROPER"/> </B> -  <B> <xsl:value-of select="TITLE-RESP"/></B></font>
      </td>   

    </tr>
    <tr>
      <td width="50%" valign="top">
          <table border="1" cellpadding="4" cellspacing="0" width="100%" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#000000">
	      <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Title Proper:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="TITLE-PROPER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Parallel Title:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="TITLE-PAR"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Other Title Information:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="TITLE-OTHER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Statement of Responsibility:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="TITLE-RESP"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Title Subjects:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="TITLE-SUB"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" height="19"></td>
              <td width="60%" height="19"></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Edition Proper:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="EDITION-PROPER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Other Edition Information:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="EDITION-OTHER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#000000" height="19"></td>
              <td width="60%" bgcolor="#000000" height="19"></td>
            </tr>
            <tr>
              <td width="40%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2">Type Proper:</FONT></td>
              <td width="60%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2"><xsl:value-of select="TYPE-PROPER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2">Type of Binding:</FONT></td>
              <td width="60%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2"><xsl:value-of select="TYPE-BINDING"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2">Other Type Information:</FONT></td>
              <td width="60%" height="19" bgcolor="#FFFFFF"><FONT SIZE="2"><xsl:value-of select="TYPE-OTHER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" height="19"></td>
              <td width="60%" height="19"></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Standard Number:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="SN-PROPER"/></FONT></td>
            </tr>
          </table>
      </td>
      <td width="50%" valign="top">
          <table border="1" cellpadding="4" cellspacing="0" width="100%" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#000000">
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Place of Publication:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="PUB-PLACE"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Name of Publisher/distributor:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="PUB-NAME"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Date of Publication:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="PUB-DATE"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Other Publication Information:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19">
		<FONT SIZE="2">
			<a target="_blank">
				<xsl:attribute name="href">
					<xsl:value-of select="PUB-OTHER"/>
				</xsl:attribute>
				<xsl:value-of select="PUB-OTHER/@media"/>
			</a>
		</FONT>
		</td>
            </tr>
            <tr>
              <td width="40%" height="19"></td>
              <td width="60%" height="19"></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Specific Material:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="MATERIAL"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Dimensions:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="DIMENSIONS"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#000000" height="19"></td>
              <td width="60%" bgcolor="#000000" height="19"></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Title Proper of Series:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="SERIES-PROPER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Other Information of series:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="SERIES-OTHER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2">Numbering within Series:</FONT></td>
              <td width="60%" bgcolor="#FFFFFF" height="19"><FONT SIZE="2"><xsl:value-of select="SERIES-NUMBER"/></FONT></td>
            </tr>
            <tr>
              <td width="40%" bgcolor="#000000" height="19"></td>
              <td width="60%" bgcolor="#000000" height="19"></td>
            </tr>
            <tr>
              <td width="40%" height="19"></td>
              <td width="60%" height="19"></td>
            </tr>
          </table>
      </td>
    </tr>
  </table>
</FONT>
</DIV>
<BR/>
<DIV ALIGN="center"><FONT FACE="verdana" SIZE="2"><A HREF="#top">top</A></FONT></DIV>
<BR/>
</xsl:template>

</xsl:stylesheet>


