This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inserting parameters in textfields



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]