使用样式表转换Word ML [英] Transforming Word ML using stylesheet

查看:65
本文介绍了使用样式表转换Word ML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我的问题是关于当我尝试使用样式表转换包含docx文档的XML时遇到的问题。当这个样式表在本地(例如c :)驱动器中时,一切正常,并且在使用Activedocument.transformdocument对象时,MS word成功转换文档。但是,当从网络驱动器访问样式表时,转换突然失败而没有提供消息详细信息,只是简单地说出现了文件错误运行时错误5460.仅供参考,没有提交问题,我可以在目录中读写和创建文件styelsheet是哪里。
希望我解释我的问题,如果你需要更多详细信息请告诉我

提前谢谢













>转换(对transformNode()的调用)是否失败?或者加载样式表(在MSXML DOM文档上调用load()方法)?您使用的是哪个版本的MSXML?


Hi All,
  My question is in regards to issue I am facing when I try to transform a XML containing  docx document using a styelsheet. When this stylesheet is in local (say c:) drive then everything works fine and upon using Activedocument.transformdocument object MS word successfully transform the document. But, when the stylesheet is accessed from a network drive then transformation abruptly fails without giving message details and simply saying A file error has occured Runtime error 5460. FYI, there are no premission issues and I can read and write and create files in the directory where styelsheet is.
Hope i explained my problem, let me know if you need more detail
Thanks in advance
Namit

解决方案

Does the transformation (call to transformNode()) fail? Or loading the stylesheet (calling load() method on MSXML DOM document)? Which version of MSXML do you use?


这篇关于使用样式表转换Word ML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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