[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: evaulate
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
|
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
|