Search

Hello.

I am new to XSL(T) world and I am lazy too. Therefor I created my XSL files as follows (this one is for page containing some articles):

<?xml version="1.0" encoding="UTF-8"?>

<t:stylesheet version="1.0"
  xmlns:t="http://www.w3.org/1999/XSL/Transform">

  <t:output method="xml"
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
    omit-xml-declaration="no"
    encoding="UTF-8"
    indent="yes"/>

  <t:include href="../utilities/master.xsl"/>
  <t:include href="../utilities/articles.xsl"/>

  <t:template match="/data">
    <t:call-template name="article-entry"/>
  </t:template>

</t:stylesheet>

Screenshot is attached.

alt text

The main goal was to achieve less typing, of course. Then I realized that the DevKit gave up displaying the hiearchy of XSL files in the right column. It now shows only then top one and the hierarchy is hidden so that you can not browse all the XSL utilities from it.

Generation of resulting page also works OK.

So, can this be a bug in DevKit? I guess it is because the backend’s utility browser shows the utilities’ dependencies correctly (see the second attachment).

alt text

What do you thing?

Note: Both the articles.xsl and master.xsl file are declared similarly to the page’s articles.xsl as shown above as follows:

<?xml version="1.0" encoding="UTF-8"?>

<t:stylesheet version="1.0"
  xmlns:t="http://www.w3.org/1999/XSL/Transform">

<!-- et cetera... -->

— mjf

Attachments:
symphony-backend-ok.png and symphony-devkit-possible-bug-1.png

Thank you very much. I will report it as bug.

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