On Sat, Dec 18, 2021 at 10:01:53PM +0100, Patrice Dumas wrote:
> 
> I'll do the code to generate XML, though I am still unsure whether it
> should be in the HTML converter directly or as an init file.

It was much easier in the HTML converter.  It is actually a bit
cumbersome, but it works.  To use XML compatible syntax, it is possible
to use -c 'USE_XML_SYNTAX 1'.  It is also possible to use only numeric
entities, with -c 'USE_NUMERIC_ENTITY 1', to add xmlns to the <html>
element with -c 'HTML_ROOT_ELEMENT_ATTRIBUTES 
xmlns="http://www.w3.org/1999/xhtml";'.

-- 
Pat

Reply via email to