6 users online. Create an account or sign in to join them.Users

Search

I was wondering if it's possible to share a template across a few different pages? Surely, it's possible to just copy/paste from one to another (so that different files will have the same content), but is there a cleaner way?

Sure, just import a file before <xsl:output /> containing the reused templates.

<xsl:import href="../utilities/file-name.xsl" />

You should install Symphony with the default workspace and dig through it. Great way to learn!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details