<?xml version="1.0"?>

<!-- apply templates -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<!--================= root template =================-->
	<xsl:template match="/">
		<html>
		<head> 
		<title>apply-templates</title>
		</head> 
		<body bgcolor="white">

		<xsl:apply-templates select="endangered_species/animal"/>

		</body>
		</html>
	</xsl:template>

	<!--================= animal template =================-->
	<xsl:template match="animal">
		<p align="center">
		<br/><font size="+3">
			<xsl:apply-templates select="name" />
		</font></p>
		<p>The mighty <b> 
			<xsl:value-of select="name[@language='English']"/> 
		</b> faces numerous threats. For more information
		<a href="http://www.worldwildlife.org/"> click</a>
		</p><hr/>
	</xsl:template>

	<!--=============== name template ======================-->
	<xsl:template match="name">
		<nobr><b>
			<xsl:value-of select="."/> -  
		</b></nobr>
	</xsl:template>

</xsl:stylesheet>