Search

I went through the "Hello To Symphony" tutorial and it was very eye opening to some mistakes and mis-conceptions I was having. I clearly understand a lot better now.

I am still having some misunderstanding though on how to work with a specific page.

In navigation.xsl I have:

http://pastie.org/3622395

and It just doesn't work. Can anyone provide any insight?

Can you describe specifically what it is you're trying to achieve?

As an aside, it would be easier to read very small snippets of code such as those in your pastie if you include them in your post. You can also make links here using markdown. :-)

It would be useful to also see the XML you are transforming. From your pastie it sounds like you;re having problems selecting a single page:

But how can I show a specific page:

Without seeing the XML I cannot be sure, but perhaps "handle" is an attribute rather than an element. If so, try:

<xsl:apply-templates select="page[@handle='about']" />

Nick, Thanks, yup, you were spot on! handle is an attribute!

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