<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html"/>
	<xsl:include href="Style1.xsl"/>
	
	<xsl:template match="/">
	
		<!-- Set Formatting Characteristics -->
		<xsl:call-template name="Style1"/>
	
		<html>
			<head>
				<title>Stylesheet Example</title>
			</head>
			<body>
				<h1>Company Information for Infoteria</h1>
				<span class="subhead">Employee Listing</span>
				<BR/>
				<table border="1">
					<tr>
						<th>Name</th>
						<th>Position</th>
						<th>Email</th>
					</tr>
					<xsl:for-each select="Company/Employee">
						<tr>
							<td>
								<xsl:value-of select="FirstName"/>
								<xsl:value-of select="LastName"/>
							</td>
							<td>
								<xsl:value-of select="Position"/>
							</td>
							<td>
								<xsl:value-of select="Email"/>
							</td>
						</tr>
					</xsl:for-each>
				</table>
				<span class="text">
				<br/>
				Total Employees:
				<xsl:value-of select="count(Company/Employee)"/>
				</span>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>
