This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: URGENT : Substitue value of xsl:variable into output !!!
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: URGENT : Substitue value of xsl:variable into output !!!
- From: "Arnold, Curt" <Curt dot Arnold at hyprotech dot com>
- Date: Tue, 9 May 2000 11:14:31 -0600
- Reply-To: xsl-list at mulberrytech dot com
You need brackets around the $inVar in an attribute of a literal result element, otherwise it is assumed to be a literal, not an expression.
<input name="{$inVar}" value="{Qty}" type="number"/> <br/>
You need to use the <xsl:value-of> instructions in text, otherwise it is just assumed to be free text.
ref="http://10.10.10.94:7001/servlet?mySvc=myApp&myP1=<xsl:value-of select="ItemID"/>&myP2=<xsl:value-of select="$inVar"/>"></go>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list