This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: inserting parameters in textfields
- To: xsl-list at mulberrytech dot com
- Subject: Re: inserting parameters in textfields
- From: David_Marston at lotus dot com
- Date: Wed, 8 Mar 2000 12:39:07 -0500
- Reply-To: xsl-list at mulberrytech dot com
Pauline Lin (pauline@gigaideas.com) writes:
>I tried to get parameters from xml and insert them on the
>textfields as values. I've looked up the xsl syntax but
>still couldn't find the right one to do it.
>Could anyone please tell me how to do this in xsl??
To produce output from an expression, you need value-of.
For example,
<xsl:text>zzz is </xsl:text><xsl:value-of select="$zzz"/>
will generate
zzz is 12
if called at the time that zzz=12. I put the literal
part "zzz is " in xsl:text tags to get the spacing I
wanted.
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list