Overview

Project: XML Template Compiler
Description: An XML templating tool based on Facelets but without JSF, and supporting Restlet integration.
License: CDDL
Current Release: Now hosted on Launchpad

As Faclets does for JSF, XTC allows you to create dynamic XML documents using composition. Additional tag libraries are easily defined using XML or Java.

Example usage:

TemplateFactory factory = TemplateFactory.getInstance();
Template f = factory.getTemplate("template.xhtml");
TemplateContext context = f.createContext();
context.setAttribute("variable", "value");
Writer w = new OutputStreamWriter(System.out);
context.setOutputWriter(w);
f.render(context);

Current status is a basic port and rename of Facelets to remove JSF dependencies. Basic integration with Restlet is available. Lots of tidy up still required, and some classes may still change.

Documents

Support

Please use Launchpad for raising issues and asking questions.

Attachments