create chunked HTML version of document together with some project and ToC files:
saxon doc.xml .../htmlhelp/htmlhelp.xsl
for documents in non-Western European languages we must select some local single-byte encoding:
saxon doc.xml .../htmlhelp/htmlhelp.xsl "htmlhelp.encoding=windows-1250" "default.encoding=windows-1250" "saxon.character.representation=native"
hhc htmlhelp.hhp
or manually using HTML Help Workshop