<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" encoding="ISO-8859-1" method="xml" version="1.0"/>
	<xsl:template match="/">
		<html>
			<head>
				<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"/>
				<title> Helian henkilöstö </title>
			</head>
			<body>
				<h2> Henkilöstö </h2>
				<xsl:apply-templates select="henkilosto/henkilo"/>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="henkilo">
		<p>
			<b>
				<xsl:value-of select="nimi/sukunimi"/>
				<xsl:apply-templates select="nimi/etunimi"/>
			</b>
			<br/> Email:&#160;<xsl:value-of select="email"/>
            <br/> Puhelin:&#160;<xsl:apply-templates select="puhelin"/>
		</p>
	</xsl:template>
	
	<xsl:template match="etunimi">
		&#160;<xsl:value-of select="."/>
	</xsl:template>
	
	<xsl:template match="puhelin">
		<xsl:value-of select="."/>&#160; (<xsl:value-of select="@type"/>)&#160;
	</xsl:template>
	
</xsl:stylesheet>
