Looking for the Ruby quixml API?

Then you will find it on quixml.rubyforge.org

Quixml: A PHP class to ease the XML + XSL development

Welcome to Quixml.org.
Quixml is a PHP class that I developped upon personal curiosity to exploit a perfect separation between logic and presentation layers.
XML and XSL have been designed to answer that question, and after having struggled for a long time with numerous templateing framework for PHP, I decided to code this library because nothing I found either worked or simply did what I was looking for.

Changelog

20/01/2008

The manual has been rewrote, and I hope it's a bit more cleare now.

Goal

The goal of this class is to provide a simple way to output XML, and to associate an SL stylesheet.
The class detect itself if the XML should be transformed to HTML (or any other output type, this is configurable) and let you concentrate on the data retrieval rather than the inner structure of your XML file.

Requirements

This class have a few requirements, and your PHP installation needs to honnor them before you can use it.

Imperative requirement:

  1. You must have PHP 5.0 at least. This library is not compatible with PHP 4.
    Too many chanegs have occured in the XML and XSL extensions between the 2 versions.
  2. You must ahve the XMLWriter extension active. This class is built around it. This requirement is meant to be dropped in the future.

In addition, the XSL generation process allows you to "include" separate files in 1. This process can be time consuming on large stylesheets.
To lighten up the generation process, a caching mechanism have been implemented, which use PDO and Sqlite to store the merged stylsheets. If you want/plan to use this caching mechanism, then you will need

  1. PDO as the database framework
  2. PDO:Sqlite as the PDO driver

Sqlite is a lightweight database stored in a file.

Download

18/01/2008: Latest version (development)

From here...

You can visit the manual (sorry for the mess, but I'm working on it) or go directly to the class reference.
Future annoucements will be made here.