Doxia has several out-of-box modules that support several markup languages.
Confluence is an Enterprise wiki from Atlassian . It uses Textile inside as an APT language.
References :
XHTML is a markup language with the same expressions as HTML, but also conforms to XML syntax.
References :
The following snippet shows how to use a Doxia Parser in Java.
Sink sink = new AptSink( ... ); Reader reader = new FileReader( "/tmp/test.apt" ); Parser parser = (AptParser) lookup( Parser.ROLE, "apt" ); // Plexus lookup parser.parse( reader, sink );