Hi,
Thank you for your answer.
mwlib is the best parser available for folks who want to do a quick job such as yours.
Maybe it is, I don't know... I know (since recently) it is not an easy task constructing a parser for "Wikitext"... but, fairly, it is not really satisfactory to have {{lang}}, {{formatnum:1401}} left in the generated "HTML" code, is it (I mean... given the fact that it never happens with "Wikipedia").
You can use the dumpHTML maintenance script to convert wikitext to html
Would "dumpHTML" work with only one "Wikitext" sentence having to be translated to "HTML"?
Actually, on: http://www.mediawiki.org/wiki/Extension:DumpHTML one can read: "dumpHTML is an extension for generating a simple HTML dump, including images and media files, of a MediaWiki installation". It looks a bit oversized in my case... doesn't it?
All the best, -- Lmhelp