<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
	<xsl:template match="/">
	<HTML>
	<HEAD>
	<SCRIPT LANGUAGE="javascript">
	</SCRIPT>
	</HEAD>
	<BODY>
	<TABLE border="0" cellpadding="3" cellspacing="3">
		<TR>
        	<TH colspan="2"><center>Employees With a Pay Period Not Equal To Weekly and an id equal to 123</center></TH>
        </TR>
        <TR>
			<TH style="background-color:beige">Name</TH>
			<TH style="background-color:beige">Salary</TH>
		</TR>
	<xsl:for-each select="employees/employee[salary/@payperiod $ieq$ 'weekly' $and$ @id $eq$ 123]" order-by="name">
		<TR VALIGN="top" 
			onmouseover="this.style.backgroundColor='lightcyan'" 
			onmouseout="this.style.backgroundColor='white'" 
			style="background-color:white;cursor:hand" onclick="alert('We love this class! XML is the Best!')">
			<TD>
				<xsl:value-of select="name"/>
			</TD>
			<TD>
				<xsl:value-of select="salary"/>
			</TD>
		</TR>
	</xsl:for-each>
	</TABLE>
	<BR/>
	<HR/>
	<CENTER><a HREF="filter.xsl">See XSL Code</a></CENTER>
	</BODY>
	</HTML>
	</xsl:template>
</xsl:stylesheet>

