954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Passing multiple values in a form within XSLT

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.

6pandn21
Light Poster
27 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: