Subject: Re: [xsl] evaulate From: James Melton <james.melton@xxxxxxxxxxx> Date: Mon, 25 Jun 2001 18:22:45 -0400 |
What you are asking for sounds difficult. It seems you would need to parse the string apart, determine what in it qualifies as a variable, and then concatenate the results using variable substitution. To my knowledge there is no existing function, but you could probably write an extension. Instead it would be trivial to set the script variable after you have the title variable like this: <xsl:variable name="title" select="'no_title'"/> <xsl:variable name="script" select="concat('sdfhskadh__',$title,'_')"/> Jim. Carol Lee wrote: > > 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 -- ____________________________________________________________ James Melton CyLogix 609.750.5190 609.750.5100 james.melton@xxxxxxxxxxx www.cylogix.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] evaulate, Carol Lee | Thread | RE: [xsl] evaulate, Hahn, Kimberly |
RE: [xsl] evaulate, Jason Macki | Date | RE: [xsl] evaulate, Hahn, Kimberly |
Month |