Yves DolceMCS Partner ISVSystem.Xml.Linq and Office Open XML- December 7, 2007 Starting to play with those. So just FYE, here is what I wrote yesterday: create the new document.xml package part Uri documentUri = new Uri("worddocument.xml", UriKind.Relative); PackagePart documentPart = package.CreatePart(documentUri, "applicationvnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"); XNamespace r = "http:schemas.openxmlformats.orgofficeDocument2006relationships"; XNamespace wp =...http://blogs.msdn.com/yvesdolc/archive/2007/12/07/system-xml-linq-and-office-open-xml.aspx |