C# xml操作word-->word转2003xml
1.第一步,准备word模版
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkwAAACkCAIAAADqjuZSAAALIklEQVR4nO3d3YrjyBkGYF+XL0jX46vR2cAQSAhMSMKeLFmf5IeEsIFAkiUnG1AO/FelP8tfS2W7+nmYg2lLcrvxO/WqSnLPrgOASu2e/QIAYCtKDoBqKTkAqqXkAKiWkgOgWkoOgGpFSu542O92u6Zd/cUs/Nb7wzF/JH8pbZPvcTns7LatbUZ/iLbZzXrKDw5AQKDk2uapA/3xsE+KarTjBq/ustfxsE/7b3jwvW+8G/QnAK/r8ZJ7rBk2cJ2ppfOzyxSr/9hp1/NrPnXcYJclU7S2MYcDeDsfLLnztOq2wpf1QLLwd3v8dEh7bZq8mgZLkcPnTUuut/bYL+DLHqfHzwf2pnMjP1WPggN4UyuU3K0B8jZom+Svt/rKVv0uNZY8wWW//jHXYposuf1+31tNzEquabLXuXQeN3HlDoDX93jJZZfkjof9cJY2ctEqOah3SNplyX79Z0ruJrluGs7kul4nXY46FfPoFG74OpdwZQ7gHTxYcv2bTnpdNPLlYKrU2yd/xutXY22Tl+lpcXJke/INLo13mX22za45TF2Sm5iwmckBvK0VZnITJZdN0XozuWUlN9Et8zO5yy77w3FYcskR/V3mfl4lB/Ce1rnxpBt+OVFeS0uut6iZmrnxZGTXqZIbXd6c+HZKDuA9bVpy6aTuwZIb3sVy/8aTyY/HDe/evL2I63EjnyGffGIA3sJmJZdeVmvah2dylz1HrpfNfk4uk+2ZX9G7fpmW3FiZPf1jgQCExX7jyTNvLryV5PhMLqu+pFivVTa8dWasJEc/4wfAW3n7310JAFP8LwQAVEvJAVAtJQdAtZQcANVScgBUS8kBUC0lB0C1lBwA1VJyAFRLyQFQLSUHQLWUHADVUnIAVEvJAVAtJQdAtZQcANVScgBUS8kBUC0lB0C1lBwA1VJyAFRLyQFQLSUHQLWUHADVUnIAVEvJAVAtJQdAtZQcANVScgBUS8kBUC0lB0C1lBwA1VJyAF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PEdMwmozX9DOPfVwJLiyUnf1/T1e6JkpsZfGZLLgnPxJ13hrVneNWZ3MwFXqc8b25RbLYtuSW3mpvJvZxYcnpv5PjS46KErFJyhrXSXvWa3MzduRav39yi2Iz+mx8+mC9XLiq5yWgtLjkJfJJQcpIPoc18smlRQj5ccoa1ZyhWctc3cDj6jG/q32LgCm0tIrcPHA/NghtPZkuud4PdMFrzJZePYBL4DMuSk320+rw6eSu59OraRJTmB5/x8WpZyRnWnqFIyV3XwUc+J7BgU75wLQ3vbnFskksYvfFjJBazJZfFrJuI1swz5IdL4JM8PODs+h8hSD9akBfRkoR00+PV0pIzrJW3Tclt+Y5Zu353T4nNiiTwWd49OTOEajsbldz5dGX1W4WylQjeU/nYrEgCn+itkzNDqDa1VcnBFLEhRnIIUHKUJjbESA4BSo7SxIYYySFAyVGa2BAjOQQoOUoTG2IkhwAlR2liQ4zkEKDkKE1siJEcApQcpYkNMZJDgJKjNLEhRnIIUHKUJjbESA4BSo7SxIYYySFAyVGa2BAjOQQoOUoTG2IkhwAlR2liQ4zkEPDRkgOAVxYvOQB4d0oOgDf25eu3qT+dkoNHzfyL2uLPs39ceHXz/3z+D9o8XJN3UnQoAAAAAElFTkSuQmCC" alt="" />
2.第二步,将word模版保存成word2003xml格式。打开word文档,点击另存为,将文件保存为word 2003 XML文档。
3.第三步,以记事本的方式打开xml文件,清理头部信息。
删除<?mso-application progid="Word.Document"?>
4.第四步,记录xml命名空间
在IE中打开xml文件,记录下命名空间
http://schemas.microsoft.com/office/word/2003/wordml
http://schemas.microsoft.com/office/word/2003/auxHint
5.第五步,加入tag标签
为了更好的操作xml,可以在想要替换内容的部分加入标签tag="tag-name"。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAo0AAAB5CAIAAADTU4w8AAAQvUlEQVR4nO3dyXHjOBiGYcSFHJwGqoOYEHzA1ZOCbnPgSTGo+s4qhuAU/jlww05wsUxR71NdXbZEUTQXfAJJ4VcCAADOSv32AgAAgCxyGgCA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NfxoAgPWqrk9bLVFJpr7Ys3sHWXD5OXUfWZTDXJ8GAKCg4n7vzNem/dqRzV0FF6eXcpr7vQEAWLL8/Wm+Ng0AwG9ZzmnDvV0AAPwS6nAAAHBe5DQAAOdFTgMAcF7kNAAA50VOAwBwXkNOWy1RjQwAAPDL/gd+SE7CBws9aAAAAABJRU5ErkJggg==" alt="" />
以记事本的方式打开xml文件,查找节点,输入标签。
6.第六步,处理table数据列
table处理时,为了更好的找到数据列,所以给数据列加入tag="tr-content",结果如下图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAFlCAIAAACoRI38AAAgAElEQVR4nO2dy5HsqBKGsQsfrhvEGDEmzIJtjwu1mwWrsqHi7BUhE9oF7kIvHglCKlV3lfR90XHilB4ICcRPAspUHgAAAC6D+u0MAAAAwM9xUuHvvFbeOq+Vt91vZ+YHeP/77exN6Ueet9L2pjTf/q6P4v3v9BXl23rpt384R/H+d/oz1eD9n8NRvOxODxX+raX7ukah81p5572ZnpczSimljHvBxTZwVDbSdLL7/RiWOuDuSn0tfw0VI7/rzmoVopenUdk1MT7VtHyiM+fT0vTS8+Sz0n1JTZhzkF7svOXb2Vu03fSbL3FMNagVaHuC+astvvOlgk53JNf69GqQ1IHl77bpfijxp/kN4VeKv9f9fWaL4AdhuE/vyrfVLRpgordifCN12Ncbf1R2zRlZXufllZ225m93nKK4r9TBC1/1rK8wbRgPmtI3n93i+2L5xo1Gb/Zo/yHVoFyga2fFiRe0o7Ggk2JPfp6gGpS3bIESf5JU+I3ySnnnzJe231M2l1cx/L/vHlp9BW3kQwedOG2/h6K1Ju3IKyUfPzYHos0XH9xQY4bnZbV3eZ9K224uWWd1qfmer510/sZbjjdnPTjjlssOZwjZEBKaH+i2dIb79UoJWtNSms4kZeGj4kua47jo84IupRa170lpRsLQ2C6EpZy+x+HPyq7gYWtjEsGWeghzBovCXzkr3G3TwzprcrtizEt0p1mCH1y+SUEn2/PWQ+KQalAs0JWzbNpLlDuUsQw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iF4Tfap8F0AEAAICf4MeFv+CiBwAAAH6AnxZ+XPQAAAD8Ii8XfhNH4jGzW35nvuZAO87Ervin/4u+eK35Uuor9N7vccoLAADQxMuEP4u+4733LtTmJbRub9TX5H5/DMI7pZIJ//Lz2+qvOEYfYXgAAADqvED4C/F2vffOhMv6uocexN7dlemdGRS9N0kAnjDlOPpOKfwugXcBAAAKHC38TpZ878cOQbhrNO5HyXd3ZfpgGEBKIVH66sGVnAAAAFyVn7P4O5sNwnf2pu1jMvF7o+7W3uLR+/R4LH4AAIAn+Lk5fqvj+X7vvXf3cI2eM1/BFP6QirC4r5N2jfuZ4wcAAKjxU6v6C5/v9yYUb3dXyQS/tLhv/gtVn1X9AAAADfzQd/zHfL5fGtsHAACANn5I+M0h6+wQfgAAgOf4qCA9CD8AAMBzfJTwAwAAwHMg/AAAABcC4QcAALgQCD8AAMCFOFL4rfYGH7kAAABvzHHCX3DR03w6K/YBAABezmHC/6yLHoQfAADg9ewXfhNH4jGzW35nvuZAO87Ervin/6ee9ruHDnzxTqd/W51vxDsvAADAbrYLfxZ9x3vvXajES7Tc3qivyf3+GIR3SiUNsZNZ/L0JxN773sydhuFw5B8AAGAzW4S/EG/Xe+9MuKyve+hB7N1dmd6ZQeB7kwTgSRJvC7mbXpgIvAAAABtoFn4nS773Y4cg3DUa96Pku7syfTAMICMIf2Ti78wbAAAABBxg8Xc2G3Lv7E3bx2Ti90bdrb0F4/ZS4lj8AAAAL+eAOX6r4/l+7713d6XiZX3xjH4+x+/dXUVzAczxAwAAHM7Tq/oLn+/3JtT1VNQl4Q/W8E96P6wNZFU/AADAUTz7Hf+zn+8DAADAD/Ks8BtW1QEAAHwOBOkBAAC4EAg/AADAhUD4AQAALsT/AfyOovQPf+YPAAAAAElFTkSuQmCC" alt="" />
7.第七步,创建一般处理程序ExportFileHandler.ashx文件
准备一个扩展方法:
public static class Extensions
{
/// <summary>
/// 克隆一个节点
/// </summary>
/// <param name="element"></param>
/// <returns></returns>
public static XElement Clone(this XElement element)
{
return new XElement(element.Name,
element.Attributes(),
element.Nodes().Select(n =>
{
XElement e = n as XElement;
if (e != null)
{
return e.Clone();
} return n;
}
),
(!element.IsEmpty && !element.Nodes().OfType<XText>().Any()) ? string.Empty : null
);
}
}
具体执行代码:
public void ProcessRequest(HttpContext context)
{
context.Response.Clear();
context.Response.AddHeader("content-disposition", "attachment;filename=EmployeeReport.doc");
context.Response.ContentEncoding = System.Text.Encoding.GetEncoding("UTF-8");
context.Response.ContentType = "application/vnd.ms-word"; XDocument doc = XDocument.Load(context.Server.MapPath("~/Templete/测试.xml")); //开始修改文档
XNamespace w = "http://schemas.microsoft.com/office/word/2003/wordml";
XNamespace wx = "http://schemas.microsoft.com/office/word/2003/auxHint"; var nodes = doc.Root.Element(w + "body").Descendants(w + "t");
FindAndReplaceNode(nodes, "name", "xxx的院子"); //填充表格
var table = doc.Root.Element(w + "body").Element(w + "tbl");//这是表格 var templateRow = doc.Root.Element(w + "body").Descendants(w + "tr").FirstOrDefault(x => x.Attribute("tag") != null && x.Attribute("tag").Value == "tr-content"); for (int i = ; i < ; i++)
{
var newRow = templateRow.Clone();
var datas = newRow.Descendants(w + "t");
FindAndReplaceNode(datas, "title", "标题");
FindAndReplaceNode(datas, "content", "这是一个测试");
FindAndReplaceNode(datas, "datetime", "2014-03-20");
table.Add(newRow);
} templateRow.Remove(); StreamWriter sw = new StreamWriter(context.Response.OutputStream);
doc.Save(sw);
sw.Flush();
sw.Close();
context.Response.End();
} private void FindAndReplaceNode(IEnumerable<XElement> elements, string tag, string value)
{
var found = elements.FirstOrDefault(n => n.Attribute("tag") != null && n.Attribute("tag").Value == tag);
if (found != null)
found.Value = value;
}
8.第八步,运行程序,就可以得到一个你想要的word文档了
C# xml操作word-->word转2003xml的更多相关文章
- C#操作Office.word(二)
在上一篇文章"C#操作Office.word(一)"中我们讲述了如何使用VS2010引用COM中Miscrosoft Word 14.0 Object Library实现创建文档, ...
- Java操作Microsoft Word之jacob
转自: 现在我们一起来看看,用Java如何操作Microsoft Word. jacob,官网是http://danadler.com/jacob 这是一个开源的工具.最新版本1.7 官方 ...
- Open XML操作Excel导入数据
项目中发现使用OleDb(using System.Data.OleDb)相关对象处理Excel导入功能,不是很稳定经常出问题,需要把这个问题解决掉.项目组提出使用OpenXML来处理Excel的导入 ...
- POI 读取word (word 2003 和 word 2007)(转,好用)
POI 读取word (word 2003 和 word 2007)(转,好用) 转做的操作: 将作者文中失效的链接的正确链接放在失效链接的下面. 最近在给客户做系统的时候,用户提出需求,要能够导入 ...
- LINQ系列:LINQ to XML操作
LINQ to XML操作XML文件的方法,如创建XML文件.添加新的元素到XML文件中.修改XML文件中的元素.删除XML文件中的元素等. 1. 创建XML文件 string xmlFilePath ...
- T-Sql(五)xml操作
t-sql中的xml操作在我们平时做项目的过程中用的很少,因为我们处理的数据量很少,除非一些用到xml的地方,t-sql中xml操作一般用在数据量很大,性能优化的地方,当然我在平时做项目的时候也是没用 ...
- XML格式示例 与 XML操作(读取)类封装
header('Content-Type: text/xml'); <?xml version="1.0" encoding="utf-8" standa ...
- 【Java EE 学习 33 上】【JQuery样式操作】【JQuery中的Ajax操作】【JQuery中的XML操作】
一.JQuery中样式的操作 1.给id=mover的div采用属性增加样式.one $("#b1").click(function(){ $("#mover" ...
- 简单的XML操作类
/// <summary> /// XmlHelper 的摘要说明. /// xml操作类 /// </summary> public class XmlHelper { pr ...
- .net学习笔记---xml操作及读写
一.XML文件操作中与.Net中对应的类 微软的.NET框架在System.xml命名空间提供了一系列的类用于Dom的实现. 以下给出XML文档的组成部分对应.NET中的类: XML文档组成部分 对应 ...
随机推荐
- 当在安卓低版本呈现的界面(H5)出现问题的时候,我们怎么解决?
昨天,在医院现场的客服人员,向我们反馈一个问题:说一位用户用他的安卓手机打开我们的app之后,界面是乱掉的:如下图: 向客服询问了具体的设备信息:安卓系统版本号是4.2 下意识觉得是因为css的兼容问 ...
- OI图论 简单学习笔记
网络流另开了一个专题,所以在这里就不详细叙述了. 图 一般表示为\(G=(V,E)\),V表示点集,E表示边集 定义图G为简单图,当且仅当图G没有重边和自环. 对于图G=(V,E)和图G2=(V2,E ...
- day05.1-文件处理
1. 文件处理流程 打开文件,得到文件句柄并赋值给一个变量: 通过句柄对文件进行操作: 关闭文件 with open("filename","r",encodi ...
- vue element-ui 表格筛选,点击筛选数据
<el-table-column prop="productEnvVersion" label="运行环境" :filters="this.ru ...
- [ActionScript 3.0] 使TextField呈现手型的简单方法
有的人不知道这个方法,有时候为了给文本添加手型做了很多复杂的工作,虽然是可以实现,但心里有没有一种难以接受的感觉?那我们看看这个吧, 例子一看就懂: var str:String="显示手形 ...
- XMPP后台搭建
XMPP的环境搭建 1.下载MySQL 登录myql官网,点击页面下面的按钮 然后安装. 2.安装MySQL图形化管理工具mysql-workbench 同样进入mysql的官网, 下载 http:/ ...
- 除了ROS, 机器人定位导航还有其他方案吗?
利用ROS进行机器人开发,我想大多数企业是想借助ROS实现机器人的导航.定位与路径规划,它的出现大大降低了机器人领域的开发门槛,开发者无需向前人一样走众多弯路,掌握多种知识才能开始实现机器人设计的梦想 ...
- 免费观看vip/要劵的电影
免费观看vip/要劵的电影 1.在爱奇艺/腾讯视频中复制电影的连接 2.复制连接到这个网站中(http://www.qmaile.com/) 3.粘贴路径到这个网站相应的位置 4.点击go ,等待解析 ...
- 20190430-PPK大佬的三个Viewport
写在前面的乱七八糟:在知识的海洋里狗刨,越刨会越自我膨胀,膨胀过后的自己,又会发现自己的渺小~ 目录 1.viewport 2.css的1px 3.三个viewport 参考文献: https://b ...
- python小游戏开发关于pygame库的安装
---恢复内容开始--- 测试环境:运行环境 Window 10 64bit上运行 前提条件 python3.7(当前时间最新版本20181021)安装(记住安装路径如C:\application\p ...