This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Trouble Populating <form> inputs in Server-Side XSL
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Trouble Populating <form> inputs in Server-Side XSL
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 13 Nov 2001 20:58:09 GMT
- References: <019d01c16c81$f6118990$1401640a@jibran>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> > putting an <xsl:value-of> tag inside an <input> tag have failed:
> <input type="hidden" name="LastName" value="<xsl:value-of select="name-last"
/>"/>.
XSL stylesheets have to be well formed XML, and that isn't.
you want .... value="{name-last}"/>
see "attribute value template" in the XSLT spec.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list