如何使用jquery / ajax转换/读取word文件 [英] How to convert/read word file using jquery/ajax
本文介绍了如何使用jquery / ajax转换/读取word文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将word文件转换为XML并使用jquery / ajax读取特定数据。
I want to convert a word file into XML and read specific data using jquery/ajax.
下面是我的代码:
function getFile(){
$.post("word.doc", function(data){
$("#divFile").html("Data Loaded: " + data);
});
使用此功能我可以加载数据但无法将其加载到XML文件。
with this function I am able to load the data but can't load it to XML file.
请帮助。
推荐答案
doc规范此处请参阅 Office文件格式部分(但@corbin是对 - 它不接近琐碎)
The doc spec is here See the Office File Formats section (but @corbin is right -- its not close to trivial)
这篇关于如何使用jquery / ajax转换/读取word文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文