|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: evaulate
Hi Carol,
Unless I misunderstood the question, you want to do something like this:
<xsl:variable name="title"/>no_title</xsl:variable>
<xsl:variable name="script" select="concat('Title: ',$title)" />
Which sets "script" to:
Title: no_title
You use the "concat" function to combine the strings, and a "select"
attribute sets the content of the variable, not a "value" attribute.
- Jason
-----Original Message-----
From: Carol Lee [mailto:CarolL@xxxxxxxxxxxxxxxxxx]
Sent: Monday, June 25, 2001 4:12 PM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject: evaulate
if i have a variable
<xsl:variable name="title" value="no_title"/>
<xsl:variable name="script" value="sdfhskadh__$title_"/>
are there any evalute function that the $title is subtituted with
"no_title"
when i print out the variable "script"?
P.S. I can't use Xalan 2 or Saxon evaluate funtions.
Carol
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








