<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE xsl:stylesheet [
	<!ENTITY auml "&#228;">
	<!ENTITY Auml "&#196;">
	<!ENTITY ouml "&#246;">
	<!ENTITY Ouml "&#214;">
	<!ENTITY uuml "&#252;">
	<!ENTITY Uuml "&#220;">
	<!ENTITY szlig "&#223;">
	<!ENTITY nbsp "&#xA;">
	<!ENTITY bull "&#8226;">
]>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" xmlns:Date="java:java.util.Date" exclude-result-prefixes="saxon Date">
	<xsl:strip-space elements="*"/>
	<xsl:output method="saxon:xhtml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes" encoding="iso-8859-1" saxon:character-representation="entity"/>
	<xsl:variable name="stylesheetname" select="'http://purl.org/sichtungen/sicht-rezindex_2.xsl'"/>
	<xsl:variable name="stylesheetversion" select="'0.2'"/>
	<xsl:variable name="stylesheetdate" select="'2002-05-19'"/>
	<xsl:variable name="stylesheetcreator" select="'mka'"/>
	<xsl:variable name="stylesheetcopyright" select="'Copyright (C) 2002 by Max Kaiser'"/>
	<xsl:variable name="prozessor">
		<xsl:value-of select="system-property('xsl:vendor')"/>
	</xsl:variable>
	<xsl:script language="java" implements-prefix="Date" src="java:java.util.Date"/>
	<xsl:variable name="datum" select="Date:toString(Date:new())"/>
	<xsl:template match="/">
		<xsl:document href="..\docs\rez-autoren.html">
			<xsl:call-template name="index">
				<xsl:with-param name="indextyp">rez-autoren</xsl:with-param>
				<xsl:with-param name="lookupterm">name</xsl:with-param>
				<xsl:with-param name="title">Index: AutorInnen rezensierter Werke</xsl:with-param>
				<xsl:with-param name="heading">Index: AutorInnen rezensierter Werke</xsl:with-param>
				<xsl:with-param name="intro"><p>Dieser Index listet s&#x00E4;mtliche AutorInnen, HerausgeberInnen und &#x00DC;bersetzerInnen auf, deren Werke in <span class="rot">Sichtungen online</span> rezensiert wurden.</p></xsl:with-param>
			</xsl:call-template>
		</xsl:document>
		<xsl:document href="..\docs\rez-verlage.html">
			<xsl:call-template name="index">
				<xsl:with-param name="indextyp">rez-verlage</xsl:with-param>
				<xsl:with-param name="lookupterm">publisher</xsl:with-param>
				<xsl:with-param name="title">Index: Verlage rezensierter Werke</xsl:with-param>
				<xsl:with-param name="heading">Index: Verlage rezensierter Werke</xsl:with-param>
				<xsl:with-param name="intro"><p>Dieser Index listet s&#x00E4;mtliche Verlage auf, bei denen in <span class="rot">Sichtungen online</span> rezensierte Werke erschienen sind.</p></xsl:with-param>
			</xsl:call-template>
		</xsl:document>
		<xsl:document href="..\docs\rez-erscheinungsjahr.html">
			<xsl:call-template name="index">
				<xsl:with-param name="indextyp">rez-jahr</xsl:with-param>
				<xsl:with-param name="lookupterm">date</xsl:with-param>
				<xsl:with-param name="title">Index: Erscheinungsjahr rezensierter Werke</xsl:with-param>
				<xsl:with-param name="heading">Index: Erscheinungsjahr rezensierter Werke</xsl:with-param>
				<xsl:with-param name="intro"><p>Dieser Index listet - geordnet nach Erscheinungsjahr - s&#x00E4;mtliche Werke auf, die in <span class="rot">Sichtungen online</span> rezensiert wurden.</p></xsl:with-param>
			</xsl:call-template>
		</xsl:document>
	<html><head><title/></head><body></body></html>
	</xsl:template>
	
	<xsl:template name="index">
	<xsl:param name="indextyp"/>
	<xsl:param name="lookupterm"/>
	<xsl:param name="title"/>
	<xsl:param name="heading"/>
	<xsl:param name="intro"/>
		<html>
			<head>
				<link rel="stylesheet" href="../stylesheets/sicht-style1.css" type="text/css"/>
				<script language="JavaScript" type="text/javascript" src="../scripts/popupscript1.js">
					<xsl:text/>
				</script>
				<script language="JavaScript" type="text/javascript" src="../scripts/closepopupscript1.js">
					<xsl:text/>
				</script>
				<title>Sichtungen online&#xA;|&#xA;Index, Suche&#xA;|&#x00A0;<xsl:value-of select="$title"/></title>
			</head>
			<body bgcolor="#FFFFFF" onunload="Javascript:closeremote();">
				<a name="top"/>
				<table border="0" cellpadding="0" cellspacing="0" class="bodydarkblue" width="100%">
					<tr class="top">
						<th colspan="2" width="100%" height="5"/>
					</tr>
					<tr class="top">
						<td width="4%"/>
						<td width="96%" nowrap="nowrap">
							<a href="../index.html" class="top" title="Home">Home</a>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/inhalt.html" class="top" title="Inhalt">Inhalt</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/beitraege.html" title="Beitr&auml;ge" class="top">Beitr&auml;ge</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/rezensionen.html" class="top" title="Rezensionen">Rezensionen</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/berichte.html" class="top" title="Berichte">Berichte</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/information.html" class="top" title="Information">Information</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="topaktuell">
								<a href="../docs/suche.html" class="top" title="Suche, Index">Suche, Index</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/faq.html" class="top" title="FAQ">FAQ</a>
							</span>
							<xsl:text>&#xA;|&#xA;</xsl:text>
							<span class="top">
								<a href="../docs/sitemap.html" class="top" title="Sitemap">Sitemap</a>
							</span>
						</td>
					</tr>
					<tr class="top">
						<th colspan="2" width="100%" height="5"/>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" class="bodygrey" width="100%">
					<tr>
						<th colspan="4" height="6" width="100%"/>
					</tr>
					<tr>
						<td width="4%"/>
						<td width="50%" align="left" valign="bottom">
							<a href="../index.html">
								<img height="71" width="346" src="../logos/Sichtungen_Logo_UT_blau5.jpg" align="middle" border="0" alt="Sichtungen. Archiv - Bibliothek - Literaturwissenschaft"/>
							</a>
						</td>
						<td width="42%" class="marginal" align="right" valign="bottom">ISSN: 1680-8975<br/>PURL: http://purl.org/sichtungen/</td>
						<td width="4%"/>
					</tr>
					<tr>
						<th colspan="4" height="8" width="100%"/>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<th colspan="2" height="1" width="100%" class="spacer"/>
					</tr>
					<tr>
						<th colspan="2" height="6" width="100%"/>
					</tr>
					<tr>
						<td width="4%"/>
						<td class="blau" valign="top" width="96%" nowrap="nowrap">
							<a href="../index.html" title="Home">Home</a>
               &#xA;&gt;&#xA;<a href="suche.html" title="Index, Suche">Index, Suche</a>&#xA;&gt;&#xA;
               <span class="rot"><xsl:value-of select="$title"/></span>
						</td>
					</tr>
					<tr>
						<th colspan="2" height="7" width="100%"/>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td width="4%"/>
						<td width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td height="1" width="2%" class="spacer"/>
						<td height="1" width="60%" class="spacer"/>
						<td height="1" width="2%" class="spacer"/>
						<td width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td width="2%"/>
						<td width="26%"/>
						<td width="4%"/>
					</tr>
					<tr>
						<td width="4%"/>
						<td width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td width="2%" class="white"/>
						<td width="60%" class="white">
							<br/>
							<h1><xsl:value-of select="$heading"/></h1>
							<xsl:copy-of select="$intro"/>
							<xsl:call-template name="indexerstellung">
							<xsl:with-param name="lookupterm2" select="$lookupterm"/>
							</xsl:call-template>
							<xsl:apply-templates select="TEI.2/text/body/div"/>
						</td>
						<td height="1" width="2%" class="white"/>
						<td width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td width="2%"/>
						<td width="26%"/>
						<td width="4%"/>
					</tr>
					<tr>
						<td height="4" width="4%"/>
						<td height="4" width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td height="4" width="2%" class="white"/>
						<td height="4" width="60%" class="white"/>
						<td height="4" width="2%" class="white"/>
						<td height="4" width="1" class="spacer">
							<img src="../logos/pixel.gif" alt="spacer"/>
						</td>
						<td height="4" width="2%"/>
						<td height="4" width="26%"/>
						<td height="4" width="4%"/>
					</tr>
				</table>
				<!-- BEGINN BOTTOM-MENUE -->
				<div align="center">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tr>
							<th colspan="3" height="1" width="100%" class="spacer"/>
						</tr>
						<tr>
							<th colspan="3" height="6" width="100%"/>
						</tr>
						<tr class="kleingrau">
							<td width="7%"/>
							<td width="60%" align="center" class="marginal">
								<a href="#top" title="Zur&uuml;ck zum Seitenanfang">[Zum Seitenanfang]</a>
							</td>
							<td width="33%"/>
						</tr>
						<tr>
							<td width="7%"/>
							<td width="60%" align="center" class="marginal">
								<a href="../index.html" title="Home">Home</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/inhalt.html" title="Inhalt">Inhalt</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/beitraege.html" title="Beitr&auml;ge">Beitr&auml;ge</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/rezensionen.html" title="Rezensionen">Rezensionen</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/berichte.html" title="Berichte">Berichte</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/information.html" title="Information">Information</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/suche.html" title="Suche, Index">Suche, Index</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/faq.html" title="FAQ">FAQ</a>
								<xsl:text>&#xA;|&#xA;</xsl:text>
								<a href="../docs/sitemap.html" title="Sitemap">Sitemap</a>
							</td>
							<td width="33%"/>
						</tr>
					</table>
				</div>
				<!-- ENDE BOTTOM-MENUE -->
				<!-- BEGINN FUSSTEIL -->
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td width="4%"/>
						<td width="76%">
							<br/>
							<p class="marginal">
								<a href="copyright.html" title="Copyright-Hinweis">Copyright</a> 2001-2002 by Sichtungen online<br/>
Diese HTML-Datei wurde am <xsl:value-of select="concat (substring ($datum, 1,4), substring ($datum, 9,2), '. ', substring ($datum, 5,3), '. ', substring ($datum, 31,4), ', ', substring ($datum, 12,5), ' Uhr')"/> automatisch generiert.<br/>
XSLT-Stylesheet: <a href="../stylesheets/{substring($stylesheetname,28,(string-length($stylesheetname)-27))}">
			<xsl:value-of select="$stylesheetname"/></a>, Vers.  <xsl:value-of select="$stylesheetversion"/> (erstellt am <xsl:value-of select="$stylesheetdate"/> durch <xsl:value-of select="$stylesheetcreator"/>).<br/>
Parser: &quot;<xsl:value-of select="$prozessor"/>&quot;.<br/>
<a href="mailto:max.kaiser@onb.ac.at" title="Mail an den Webmaster">[Webmaster]</a>
<xsl:text>&#xA;&#xA;&#xA;</xsl:text>
<a href="disclaimer.html" title="Haftungsausschlu&szlig; / Disclaimer">[Haftungsausschlu&szlig; / Disclaimer]</a>
							</p>
							<br/>
						</td>
						<td width="16%" align="right">
							<!-- BEGINN XHTML-Validator -->
							<a href="http://validator.w3.org/check/referer">
								<img border="0" src="../logos/valid-xhtml-kl10.gif" alt="Valid XHTML 1.0!" height="21" width="60" align="top"/>
							</a>
							<!-- ENDE XHTML-Validator -->
						</td>
						<td width="4%"/>
					</tr>
				</table>
				<!-- ENDE FUSSTEIL -->
			</body>
		</html>
	</xsl:template>
	<xsl:template name="indexerstellung">
	<xsl:param name="lookupterm2"/>
		<xsl:variable name="rezlookup">
			<directory>
				<xsl:for-each select="//directory[@name='rezensionen']/item[not(@replacedBy)]">
					<xsl:variable name="link">
						<xsl:text>../rezensionen/</xsl:text>
						<xsl:value-of select="node()"/>
					</xsl:variable>
					<xsl:call-template name="rezensionen_lookup">
						<xsl:with-param name="doc" select="concat('../rezensionen/',node())"/>
						<xsl:with-param name="linkpar" select="$link"/>
					</xsl:call-template>
				</xsl:for-each>
			</directory>
		</xsl:variable>
		<xsl:variable name="indexlookup">
		<xsl:if test="$lookupterm2='name'">
			<xsl:for-each select="$rezlookup/directory/rezension/descendant::name">
				<xsl:sort select="@key"/>
				<!--<xsl:sort select="document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/title[@type='short']"/>
				<xsl:sort select="substring-before(substring-after(document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/biblScope, 'S. '), '-')" data-type="number"/>-->
				<name>
					<xsl:attribute name="namelink"><xsl:value-of select="ancestor::rezension/@link"/></xsl:attribute>
					<xsl:attribute name="rezensent"><xsl:value-of select="ancestor::rezension/@rezensent"/></xsl:attribute>
					<xsl:attribute name="zitat"><xsl:value-of select="ancestor::rezension"/></xsl:attribute>
					<xsl:attribute name="source"><xsl:value-of select="ancestor::rezension/@source"/></xsl:attribute>
					<xsl:attribute name="publDate"><xsl:value-of select="ancestor::rezension/@publDate"/></xsl:attribute>
					<xsl:attribute name="changeDate"><xsl:value-of select="ancestor::rezension/@changeDate"/></xsl:attribute>
					<xsl:value-of select="@key"/>
				</name>
			</xsl:for-each>
			</xsl:if>
			<xsl:if test="$lookupterm2='publisher'">
			<xsl:for-each select="$rezlookup/directory/rezension/descendant::publisher">
				<xsl:sort select="node()"/>
				<!--<xsl:sort select="document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/title[@type='short']"/>
				<xsl:sort select="substring-before(substring-after(document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/biblScope, 'S. '), '-')" data-type="number"/>-->
				<name>
					<xsl:attribute name="namelink"><xsl:value-of select="ancestor::rezension/@link"/></xsl:attribute>
					<xsl:attribute name="rezensent"><xsl:value-of select="ancestor::rezension/@rezensent"/></xsl:attribute>
					<xsl:attribute name="zitat"><xsl:value-of select="ancestor::rezension"/></xsl:attribute>
					<xsl:attribute name="source"><xsl:value-of select="ancestor::rezension/@source"/></xsl:attribute>
					<xsl:attribute name="publDate"><xsl:value-of select="ancestor::rezension/@publDate"/></xsl:attribute>
					<xsl:attribute name="changeDate"><xsl:value-of select="ancestor::rezension/@changeDate"/></xsl:attribute>
					<xsl:value-of select="."/>
				</name>
			</xsl:for-each>
			</xsl:if>
			<xsl:if test="$lookupterm2='date'">
			<xsl:for-each select="$rezlookup/directory/rezension/descendant::date">
				<xsl:sort select="node()" order="descending" data-type="number"/>
				<!--<xsl:sort select="document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/title[@type='short']"/>
				<xsl:sort select="substring-before(substring-after(document(@link)//sourceDesc/bibl[@n='DC.relation.isFormatOf']/biblScope, 'S. '), '-')" data-type="number"/>-->
				<name>
					<xsl:attribute name="namelink"><xsl:value-of select="ancestor::rezension/@link"/></xsl:attribute>
					<xsl:attribute name="rezensent"><xsl:value-of select="ancestor::rezension/@rezensent"/></xsl:attribute>
					<xsl:attribute name="zitat"><xsl:value-of select="ancestor::rezension"/></xsl:attribute>
					<xsl:attribute name="source"><xsl:value-of select="ancestor::rezension/@source"/></xsl:attribute>
					<xsl:attribute name="publDate"><xsl:value-of select="ancestor::rezension/@publDate"/></xsl:attribute>
					<xsl:attribute name="changeDate"><xsl:value-of select="ancestor::rezension/@changeDate"/></xsl:attribute>
					<xsl:value-of select="."/>
				</name>
			</xsl:for-each>
			</xsl:if>
		</xsl:variable>
		<p class="mittelgross">
			<xsl:for-each select="$indexlookup/name">
				<xsl:if test="preceding-sibling::node()[1] != node() or position()='1'">
					<a>
						<xsl:attribute name="href"><xsl:text>#</xsl:text><xsl:number/></xsl:attribute>
						<xsl:value-of select="."/>
					</a>
					<xsl:if test="position() != last()">
						<xsl:text>&#xA;|&#xA;</xsl:text>
					</xsl:if>
				</xsl:if>
			</xsl:for-each>
		</p>
		<dl>
			<xsl:for-each select="$indexlookup/name">
				<xsl:if test="preceding-sibling::node()[1] != node() or position()='1'">
					<dt>
						<xsl:text>&#xA;</xsl:text>
						<br/>
						<span class="bold">
							<a>
								<xsl:attribute name="name"><xsl:number/></xsl:attribute>
							</a>
							<xsl:value-of select="."/>
						</span>
						<br/>
					</dt>
				</xsl:if>
				<dd>
					<a href="{concat(substring(@namelink,1,string-length(@namelink)-3),'html')}">
						<xsl:value-of select="@zitat"/>
					</a>
					<br/>
											
						<xsl:text>Rezensiert von </xsl:text><xsl:value-of select="@rezensent"/>.<br/>
					<xsl:choose>
						<xsl:when test="@source='preprint'">
							<img src="../logos/preprint_2.gif" height="15" width="48" align="top" alt="Preprint"/>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="@source"/>
						</xsl:otherwise>
					</xsl:choose>
					<br/>
					<span class="marginal">
						<xsl:text>Publikationsdatum in Sichtungen online: </xsl:text>
						<xsl:value-of select="@publDate"/>.
					<xsl:if test="@changeDate !=''">
							<br/>
							<xsl:text>Zuletzt ge&#x00E4;ndert: </xsl:text>
							<xsl:value-of select="@changeDate"/>.</xsl:if>
					</span>
					<br/>&#x00A0;
				</dd>
			</xsl:for-each>
		</dl>
	</xsl:template>
	<xsl:template name="rezensionen_lookup">
		<xsl:param name="doc"/>
		<xsl:param name="linkpar"/>
		<xsl:for-each select="document($doc)//titleStmt/title[@type='main']/bibl">
			<xsl:element name="rezension">
				<xsl:attribute name="link"><xsl:value-of select="$linkpar"/></xsl:attribute>
				<xsl:attribute name="rezensent"><xsl:for-each select="//titleStmt/author[@n='creator']/name[@type='person']"><xsl:value-of select="."/><xsl:if test="../address/addrLine/name[@type='place'][text()]"><xsl:text> (</xsl:text><xsl:value-of select="../address/addrLine/name[@type='place']"/><xsl:text>)</xsl:text></xsl:if><xsl:if test="position() != last()"><xsl:text> u. </xsl:text></xsl:if></xsl:for-each></xsl:attribute>
				<xsl:attribute name="source"><xsl:if test="//sourceDesc/bibl/@n='preprint'">preprint</xsl:if><xsl:if test="//sourceDesc/bibl/@n='DC.relation.isFormatOf'"><xsl:for-each select="//sourceDesc/bibl[@n='DC.relation.isFormatOf']"><xsl:value-of select="title[@type='short']"/><xsl:text>, </xsl:text><xsl:value-of select="biblScope"/><xsl:if test="title[@type='short'][@n !='']"><xsl:text> [</xsl:text><xsl:value-of select="title[@type='short']/@n"/><xsl:text>]</xsl:text></xsl:if><xsl:choose><xsl:when test="position() != last()"><xsl:text>; </xsl:text></xsl:when><xsl:otherwise><xsl:text>.</xsl:text></xsl:otherwise></xsl:choose></xsl:for-each></xsl:if></xsl:attribute>
				<xsl:attribute name="publDate"><xsl:value-of select="//revisionDesc/change[1]/date"/></xsl:attribute>
				<xsl:attribute name="changeDate"><xsl:if test="count (//revisionDesc/change) != '1'"><xsl:value-of select="//revisionDesc/change[last()]/date"/></xsl:if></xsl:attribute>
				<xsl:copy-of select="node()"/>
			</xsl:element>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>

