6pandn21 0 Light Poster

Hello guys!

I am very new to XSLT and am getting stuck in a very annoying problem. I have got a XSL file within with there is a part of code to book a place. Here is the code;

<xsl:when test="seats &gt; 0">
				<td>
					<input onclick="sendBookRequest();" type="button" value="book">
					<xsl:attribute name="onclick">sendBookRequest(<xsl:value-of select='id' />)</xsl:attribute>
					</input>
				</td>
			</xsl:when>

I want to add an input box where the user can enter some value and pass both the 'id' value (which i can already pass) as well as the user input value. But I can't even figure out the syntax; can anyone guide me somewhere I can read about it or show me how its done? Thank you.