[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: evaulate

Subject: Re: evaulate
From: James Melton <james.melton@xxxxxxxxxxx>
Date: Mon, 25 Jun 2001 18:22:45 -0400
xsl variable substitution
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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.