Subject: Re: Trouble Populating <form> inputs in Server-Side XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Nov 2001 20:58:09 GMT
|
> > 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
|