Title: Retrieve value problem

Hi all

I got the problem like this:

i have a xsp file having the element : <name_value>John Smith</name_value>
and a xsl file having a form with the input something like this?

<form . . .>
        <input type="text" name="name" value="xxx">

now i want to put the value of the element <name_value> into the value of the input!!
how???

i tried value="{name_value}"
but it doesn't display anything in the form!

i use <xsl:value-of select="name_value"/> in the outside of the input i can print out Jonh Smith

but i cant put the tag <xsl:value-of select="name_value"/> into the value="<.>" due to '<' and '>' problem! so do you know how to deal with this??

Thanks very mmuch in your help
GD

Reply via email to