<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:import href="template.xsl"/>
   <xsl:template match="/bandname">
 	<div class="bandname"><xsl:value-of select="node()"/></div>
	<form method="post" action="/bandname/dispatch.fcgi/Rate">
	<xsl:apply-templates select="./pattern"/>
	<xsl:apply-templates select="./word"/>
	<div><select name="rating">
	<option>0</option>
	<option>1</option>
	<option>2</option>
	<option>3</option>
	<option>4</option>
	<option selected="selected">5</option>
	<option>6</option>
	<option>7</option>
	<option>8</option>
	<option>9</option>
	</select>
	<input type="submit" name="submit" value="Rate this name, see another" /></div>
	</form>
 </xsl:template>
 <xsl:template match="/bandname/pattern">
   <input type="hidden" name="pattern" value="{node()}"/>
 </xsl:template>
 <xsl:template match="/bandname/word">
   <input type="hidden" name="word" value="{node()}"/>
 </xsl:template>
</xsl:stylesheet>

