0.0
No commit activity in last 3 years
No release in over 3 years
Quarto is a Ruby framework for generating collections of documents from XML. It steps in where XSLT just won't cut it. Potential applications include web sites and e-books. It's built on top of ERB and REXML.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme
Quarto is a Ruby framework for generating collections of documents from XML. Potential applications
include web sites and e-books. It's built on top of ERB and REXML. It works as a standalone
application and inside Rails.

Quarto was built with HTML output in mind, but there's nothing to prevent you from outputting
to any other format. You could even output to an interpolated scripting language like PHP.

As of the inception of Quarto, there is no cross-platform XSLT gem. So, Quarto comes with its
own alternative to XSLT in the form of the Tranformer class and the TransformationHelper
module.

Why Quarto?
===========

Say you have a book in XML format, and you want to make a web site from it. You could transform it
to HTML using XSLT. But what if you need logic that can't be implemented in XSLT?

Enter Quarto. Instead of writing a series of XSLT sheets, you write ERB templates. You implement
whatever custom logic you need in classes that wrap the DOM elements, then you pass variables to the templates.

Installation
============

  gem sources -a http://gems.github.com
  sudo gem install jarrett-quarto

Using Quarto
============

Thorough documentation doesn't exist yet. For now, see spec/sample_project and the RDoc.