[Home] [By Thread] [By Date] [Recent Entries]
Deniz Kilinc wrote:
>
> Hi all,
>
> How can i assign the name attribute of the "input tag" using the
> "xsl select" method?Code seems here but gives error!
Sure, your XSLT sheet isn't well formed XML:
>
> <input type="text" name=<xsl:value-of select="NAME "/>
^^^^
You can' include an element in a start tag!
To workaround this XSLT as a shortcut for assigning values to attributes
using "{}" and you should write:
<input type="text" name="{NAME}"/>
Eric
--
Pour y voir plus clair dans la nebuleuse XML...
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
|

Cart



