Hi all
Trying again to get this mail sent through. please see mail below.
Hi all
I would like to Export our XWiki to disk as a XAR, but I want the Page
Content to be HTML.
I have tried using the Large Wike Export Code Snippet:
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeWikiExportSnippet
This works perfectly except I am not managing to use convertSyntax() on the
"xdoc.content()". Perhaps I am not getting the syntax right (I'm not very
good with Java-like)
I have the following as part of the toXML function in the snippet:
// Add SyntaxConversion
xwriter.startElement("", "HTMLsyntax",
"HTMLsyntax", attributes);
xdoc.convertSyntax(xhtml/1.0);
xwriter.write(xdoc.getContent())
xwriter.endElement("", "HTMLsyntax",
"HTMLsyntax");
What am I missing? And is there a better way?
Thanx in advance for the help
--
Gordon