Le 25 août 05, à 16:45, Oliver Schalch a écrit :
...Looks quite nice, didnt know it. Of course I'd like to see some code
samples, which you made..

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);

Thinking about it, using nekoHTML (from the html block) to parse and cleanup the result might be easier.

-Bertrand

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to