Search

Though I do not have it explicitly stated in my xslt, the following shows up from a datasource that is attached to one of my pages:

“Events Youth Easter Egg Hunt for all children! 2011-01-28 2011-01-24 Super Fun Day Woot”

What could be causing this? I’ve checked what I thought could have been the cause in my xslt, but it was still visible on the frontend.

I have attached the xml and xslt for anyone who has a free moment to review. Please let me know if you need more information.

Thanks, Chris Truett

Would you mind posting your XML and XSLT at pastie.org? I don’t see it attached.

Hi ctruett,

We can confirm if you get the xslt posted, but I’m betting you are applying templates (maybe without a select) to the datasource and seeing the output of the xslt default template rules

Sorry about that, I had attached them but they didn’t post for some reason.

xsl: http://pastie.org/1513709

xml: http://pastie.org/1513712

What’s strange is that it is behaving in the same way on other pages with different xsl templates.

Thanks for the help, both of you.

Chris Truett

You have to add another template.

<xsl:template match="/">
    <xsl:apply-templates select="data/ministries" />
</xsl:template>

Thanks, phoque. That block of code helped me pin down some other errors as well, so now it’s all sorted out.

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