<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl" xmlns="http://www.w3.org/TR/REC-html40">

	<xsl:template match="/">
		<html>
			<head>
				<title>Bücher</title>
				<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
				<meta http-equiv="Expires" content="0" />
			</head>
			<body>
				<table border="1" bordercolor="red">
					<tr style="font-size:20pt; font-weight:bold; color:green" align="CENTER" valign="CENTER">
						<td>ISBN</td>
						<td>Titel</td>
						<td>Verlag</td>
						<td>Jahr</td>
						<td>Autor</td>
					</tr>
					<xsl:apply-templates />
				</table>
			</body>
		</html>
	</xsl:template>

	<xsl:template match="buecher">
		<xsl:for-each select="buch">
			<tr style="font-size:16pt; color:blue" valign="top">
				<td><xsl:value-of select="@isbn" /></td>
				<td><xsl:value-of select="@titel" /></td>
				<td><xsl:apply-templates select="verlag" /></td>
				<td><xsl:value-of select="jahr" /></td>
				<td><xsl:apply-templates select="autor" /></td>
			</tr>
		</xsl:for-each>
	</xsl:template>

	<xsl:template match="verlag">
		<xsl:value-of select="@name" />
	</xsl:template>

	<xsl:template match="autor">
		<xsl:value-of select="@name" /><br />
	</xsl:template>
</xsl:stylesheet>