<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<html>
			<body>
				<xsl:for-each select="/book/author">
					<xsl:value-of select="."/>
					<xsl:choose>
						<xsl:when test="position() = last() - 1"> and </xsl:when>
						<xsl:otherwise>, </xsl:otherwise>
					</xsl:choose>
				</xsl:for-each>
				<em>
					<xsl:value-of select="concat('&quot;', /book/title, '&quot;,')"/>
				</em>
				<xsl:value-of select="concat(' ', /book/publisher, ', ', /book/date, ', ')"/>
				<xsl:if test="/book/isbn">
					<xsl:value-of select="concat('ISBN: ', /book/isbn)"/>
				</xsl:if>
				<xsl:text>.</xsl:text>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>