Search

hello,

I'm trying to make a XSLT file for my website. You can find it here

Still working on :

  • The comments in the file.
  • The navigation. I'm thinking of using the archive pages of the example file.
  • Making links on external and internal pages.

But are there any remarks before I'm working on the file and filling in the gaps.

Roelof

@roelof - Are you using Symphony???

If you are just trying to learn XSLT, I would suggest you run through the entire tutorial from W3Schools, that will give you the basics.

Yep

I want to use Symphony for that site. Thanks for the tip about the w3schools tutorial.

Any remarks so far on my code ?

Roelof

Your xsl:template-match'es should select something from the XML. At the moment you seem to be trying to select from other HTML in your template.

I found A xsl:apply-templates Tutorial from Allen Chang helpful in understanding the concept.

Hi Roelof,

To put you in the right direction; Use the 'say hello to symphony' tutorial as a basic and expand from there. Your xml looks like it's fetched from a html page which has nothing to do with the symphony workflow. I'm not sure what you are trying to achieve. Symphony can be used for lot's of goals. But this does not look look like the basic symphony workflow.

Hello Cremol.

I try to "convert" my old site to a Symphony site. I will try all your suggestions and come back with a better file

Roelof

I suggest you should build your site from the ground up in symphony.
In the end it will save you much hassle i guarentee. Just use your existing html/css and fill in all the variables with the xslt templating... good luck!

I suggest you should build your site from the ground up in symphony.

+1

Hello,

I found this as an example, can this be useable as reference?

Roelof

Hi Roelof,

Like i said, just rebuild your site in symphony, it 'll save you much hassle
Just looking at your example get's me stressed out!
So it's up to you doing this the hard way or not...

oke,

I will do it the hard way but I find it handy to have a reference. I find a lot of tutorials but never now Im trying to see the whole picture.

Roelof

Good luck trying the hard way...

Happy to help you out the 'easy way'

good luck!

Roelof...
If you are using a database,
You might fin this extension useable for migrating data...

Everyone thanks for the help.

I found this tutorial so finally I can see the whole picture.

Roelof

Oof, that seems to be quite an old tutorial.

A lot has changed since that tutorial has been written, so you might want to check out more recent ones.

Yep,

I know that's a old one. But I cannot find a newer one which do the same.

Roelof

Try this series of Symphony CMS tutorials by Jonas Downey.

Thanks,

I will look at them tommorrow. Now time to sleep.

Roelof

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