A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
XML and Related Technologies
XSL + using vaiables in URLS
Joined: Oct 13, 2004
Nov 25, 2004 10:16:00
Does anyone know if this would work. Lets say I have 3 variables that make up a a particular URL e.g var1, var2 and var3. In my XSL then can I simply say <a href="$var1$var2$var3">??
author and deputy
Joined: Jul 13, 2001
Nov 25, 2004 10:36:00
You have to use concat() funtion of xslt.
<xsl:value-of select="concat($var1,$var2,$var3)" /> will do.
Spritle Software Blogs
I agree. Here's the link:
subject: XSL + using vaiables in URLS
Overloading method question
"cannot find symbol variable..."
How to add two variables in XSLT
How Instance variables get Default values
Which is better design
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015