Search

hi there,

i have this

<div>&#169; <xsl:value-of select="$this-year" />  <a href="{$root}" title="{$website-name}">

which should output © 2013 Sitename

but in does not. the output is ©2013Sitename

any ideeas ?

Could you please reformat your post using Markdown? Thanks!

You can include your white spaces into xsl:text elements like

<xsl:text>&#169; </xsl:text>
<xsl:value-of select="$this-year" />
<xsl:text> </xsl:text>
...

Also concat() works like

<xsl:value-of select="concat(' ', $this-year, ' ')" />

thank you ;)

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