Search

Sorry, I just can't get my head around this:

Is there a way to turn this...

<xsl:value-of select="concat('name-', $sessionmonster-lang)" />

...into this:

<xsl:value-of select="name-de" />

?

I am already banging my head against the table...

<xsl:value-of select="*[name() = concat('name-', $session-lang)]" />

Grazie mille!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details