使用xslt c#导出到Word [英] export to word by using xslt c#

查看:73
本文介绍了使用xslt c#导出到Word的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

数据来自sql数据库.

如何使用xslt动态导出单词数据.

我已经在excel中完成过.

Hi All,

Data comes in a sql database.

how to export word dynamically data by using xslt.

i have done in excel.

推荐答案

Word格式是二进制",而XSLT是面向文本的,因此,这种解决方案真的很难想象,或者至少非常困难.例如,现代的Open Office XML格式是基于XML的,但是在单独的目录中有多个文件ZIP在一起.因此,您需要将XSLT处理(甚至这一定很困难)与使用C#进行压缩相结合.

—SA
Word format is "binary", and XSLT is text-oriented, so such solution is really hard to imagine or at least extremely difficult. For example, modern Open Office XML formats are based on XML, but there are several files in separate directories ZIPed together. So, you would need to combine XSLT processing (and even this must be difficult) with compression using C#.

—SA


这篇关于使用xslt c#导出到Word的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆