[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
  • evaulate
    • Carol Lee - Mon, 25 Jun 2001 17:16:07 -0400 (EDT)
      • James Melton - Mon, 25 Jun 2001 18:22:18 -0400 (EDT) <=
      • Hahn, Kimberly - Mon, 25 Jun 2001 19:21:14 -0400 (EDT)
      • Michael Kay - Tue, 26 Jun 2001 04:15:49 -0400 (EDT)
      • <Possible follow-ups>
      • Jason Macki - Mon, 25 Jun 2001 17:53:31 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member