This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Assigning Element value to hidden form field!


Chris Bayes wrote:
>Vetrivel,
>Try
><input name="name" type="hidden">
> 	<xsl:attribute name=value>
>		<xsl:value-of select='SPECIALITY' />
>	</xsl:attribute>
></input>

Or:

  <input name="name" type="hidden" value="{SPECIALITY}" />

if you're using an XSLT Processor that supports attribute value templates.

Cheers,

Jeni

Dr Jeni Tennison
Epistemics Ltd * Strelley Hall * Nottingham * NG8 6PE
tel: 0115 906 1301 * fax: 0115 906 1304 * email: jeni.tennison@epistemics.co.uk


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]