Overview

Project: XML Template Compiler
Description: An XML templating tool based on Facelets but without JSF, and supporting Restlet integration.
License: CDDL
Current Release: 0.4.1 (source) (binary)

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

Current Phase

Milestone: 0.5
Tasks:

#8
Add support for restlet converters

Future Work

Tasks:

#4
Better separation of interface and implementation
#5
Restlet annotations

Support

Currently raising tickets and editing the wiki is not enabled for public access until we sort out some anti-spam measures. For support e-mail xtc@sarugo.org.

Attachments