Subject: RE: Assigning Element value to hidden form field!
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Sat, 5 Aug 2000 15:53:07 +0100
|
Vetrivel,
Try
<input name="name" type="hidden">
<xsl:attribute name=value>
<xsl:value-of select='SPECIALITY' />
</xsl:attribute>
</input>
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Vetrivel Murugan C.
>Sent: 05 August 2000 14:50
>To: XSL-List@xxxxxxxxxxxxxxxx
>Subject: Assigning Element value to hidden form field!
>
>
>Hi
> We are using xsl with xml for presentation.In xsl we
>have to get the value of one xml element in to the html form field hidden
>variable. We
>tried as follows.It's not working properly.
><input name="name" type="hidden" value="<xsl:value-of
>select='SPECIALITY'/>"
>/>
> In future we will pass this value to another JSP.This value part is not
>taking the actual element value from the xml.
> Can anyone give suggestions for this.
>Thanks in advance.
>Regards
>Vetrivel.C
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|