Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSL + using vaiables in URLS

 
Maeve Shey
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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">??

Thanks
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.
You have to use concat() funtion of xslt.

<xsl:value-of select="concat($var1,$var2,$var3)" /> will do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic