<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:template match="/">
		<html>
			<head>
				<title>Lab Puppy 7 - XML plus XSLT equals HTML</title>
			</head>
			<body>
				<h1>Movie Listings By Ryan Prins</h1>
				<xsl:for-each select="CATALOG/MOVIE">
					<ul>
						<li>
							<strong>
								<xsl:value-of select="TITLE"/><br />
							</strong>
						</li>
						<br />
						<xsl:value-of select="GENRENAME" />: <xsl:value-of select="DESCRIPTION" />
						<br /><br />
						<xsl:for-each select="CAST/STAR">
							<ul>
								<li><xsl:value-of select="NAME" /></li>
								<br /><br />
							</ul>
						</xsl:for-each>
					</ul>
					<br />
				</xsl:for-each>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>