[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[no subject]

From: Sumit - Mishra <s0m5054@xxxxxxxxxxx>
Date: Fri, 6 Oct 2000 21:33:13 -0500 (CDT)
sumit mishra
I am displaying an xml file on the browser using xsl stylesheet.
now i need to capture user action (pressing of a submit button), and send
it to my servlet.
my xml file is:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="result2.xsl"?>
<company>
<employee>
<empno>1</empno>
<empname>sumit mishra</empname>
<salary>10000</salary>
<desg>engineer</desg>
</employee>
</company>

i am getting the output (using stylesheet) in a tabular form:

employee no	employee name	salary	designation	select
1		sumit		1000	engin		|delete|
2		arshad		2000	engin		|delete|

I need to pass the employee number (value) when the corresponding delete
button is pressed

Now as one does in html:
<td><xsl:value-of select="empno"/>
            <input type="hidden" name="empno" value="empno"></input></td>

I am not being able to do the same with xsl as the value being passed to
the servlet is the string "empno" and not the value of attribute "empno"
how do i perform this action

sumit mishra                               


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.