Search

I don’t understand. Finally I understand how to make a new page in symphony and add text. But styling it is what gives me trouble. Everything appears as a list, no matter which div i wrap it in

       <div id="content">
                                    <xsl:apply-templates select="/data/sidebar/entry"/>
                            </div>

noob

Could you please give us more detail? I’d like to see all of your templates, some of your XML and your resulting HTML code.

this be XML - http://tinypaste.com/cbcd6

and this be XHTML - http://tinypaste.com/94f1e

You’re wrapping your entries in <li> elements, that’s where the list is coming from.

<xsl:template match="sidebar/entry">
<li><xsl:value-of select="title"/></li>
<li><xsl:value-of select="content"/></li>
</xsl:template>

I see. I GET IT! Thanks.

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