cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <>
Subject Retrieve value problem
Date Tue, 17 Dec 2002 02:46:34 GMT
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!!

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

Thanks very mmuch in your help

View raw message