得到一个docbook我需要知道什么是我的问题的最佳解决方案。什么是最好的解析器从文字,rtf,ecc
我想制作一个Docbook编辑器,它接收一个word文件(或任何其他富文本格式),并允许您修改内容/样式以构建一个docbook。
从本质上讲,我想检查什么是实现这个结果的最佳选择。
是更好地
-> upload the file
-> parse it to docbook
-> transform it to xhtml
-> modify with wysiwyg editor
-> save changes to docbook
或
-> upload the file
-> transform it to xhtml syntax
-> modify the xhtml with a wysiwyg editor
-> convert xhtml to docbook
请涉及一些工具/库/程序,可以帮助我这样做(如果可能)的解决方案。
上下文尚未定义为100%,但我正在寻找一个带有自定义wysiwyg编辑器的Web应用程序。这就是我质疑是否有更有效的方法来获得这样的结果的原因。 Docbook XSL是最初的想法,但问题是 - 我从word/rtf/etc得到一个体面的解析...? - 转换为html>编辑>最终转换为docbook或转换为docbook的第一个地方是更好吗?谢谢 ;) – VAShhh