cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Schalch <oliver.scha...@wyona.com>
Subject Re: [Fwd: [Chaperon-users] wiki grammer]
Date Thu, 25 Aug 2005 15:38:01 GMT
Bertrand Delacretaz said the following on 25.08.2005 17:12:
> Basically what we do is:
> 
> String input = "wiki text..";
> 
> // Radeox generates xhtml in a String (unfortunately)
> RenderContext context = ...some radeox RenderContext
> RenderEngine engine = ...standard or custom RenderEngine
> final String xhtml = engine.render(input, context);
> 
> / parse the XHTML
> DOMConverter cvt = (DOMConverter)m_manager.lookup(DOMConverter.ROLE);
> Document result = cvt.stringToDOM(xhtml);

Thanks, I will take some time tomorrow to get into that Radeox API, and
I guess I will use a XSLT way at least.



--
oli

Mime
View raw message