简体   繁体   English

将Word xml转换为html并将html转换为word xml(使用Java)

[英]Convert word xml to html and html to word xml(Using Java)

I tried some ways( Jtidy ) to Convert word XML to HTML and HTML to word XML through JAVA. 我尝试了一些方法( Jtidy )通过JAVA将XML单词转换为HTML以及将HTML转换为XML单词。 But missing some word properties in Final word XML file. 但是缺少最终单词XML文件中的某些单词属性。

Note: We have worked XML tags based on a schema. 注意:我们已经基于模式处理XML标签。

Is there a better way to convert Word XML to HTML? 是否有更好的方法将Word XML转换为HTML? (vice-versa) Or is there a better alternative to using a word with our XML schema? (反之亦然)还是在XML模式中使用单词有更好的选择吗?

docx4j can do docx to html; docx4j可以将docx转换为html; docx4j-ImportXHTML can convert XHTML to docx. docx4j-ImportXHTML可以将XHTML转换为docx。

How your XML schema can be leveraged depends a bit on whether it is text or data oriented. 如何利用XML模式取决于它是面向文本还是面向数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM