This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: evaulate
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] evaulate
- From: "Hahn, Kimberly" <Kim dot Hahn at enform dot com>
- Date: Mon, 25 Jun 2001 18:15:44 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
I'm not sure if this is what you are looking for, but the following function
replaces the characters in the second argument with those in the third:
translate(@StopVal,'-','')
The first argument is the string you want the replacement to happen in.
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Carol Lee
Sent: Monday, June 25, 2001 4:12 PM
To: 'XSL-List@lists.mulberrytech.com'
Subject: [xsl] 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