Hi Gourav,
I want it to be like :
value="<xsl:value-of select="name"/>"
because then only it would be a valid xsl.
This isn't valid XSLT. You want something like:
value="{name}"
instead -- using an attribute value template to insert the value of
the <name> element into the 'value' attribute you're creating.
You can generate this attribute using:
<xsl:attribute name="value">{name}</xsl:attribute>
or, if the value attribute is on a <foo> element, using:
<foo value="{{name}}">...</foo>
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list