December 2008 - Posts
[Blog Map] Sometimes an XML element contains a large number of attributes, and the values of the attributes may be long. When written to the console, such lines wrap, making it hard to read the XML. In particular, the XML responses from SharePoint web
Read More...
[Blog Map] Sometimes you want to convert an XmlNode to an XElement and back again. Some programming libraries define methods that take XmlNode objects as parameters. These libraries also may contain properties and methods that return XmlNode objects.
Read More...
On Thursday, December 4, 2008 the Ecma General Assembly voted to approve Ecma 376 Edition 2 which is aligned on IS29500. This is good news for the Open XML standard and is the last step in the standardization effort for Open XML in Ecma - started 3 nearly
Read More...
Today, Microsoft published our first set of document-format implementation notes for the ODF implementation in Office 2007 SP2. These notes, which are available on the DII web site , provide detailed information about the design decisions that went into
Read More...
There is an approach using LINQ to XML that provides some of the benefits of a strongly typed document object model. The approach consists of declaring a static class with static, initialized XName and XNamespace fields in the class, and then using those XName and XNamespace objects in the LINQ to XML code that creates and queries XML trees.
Read More...
This post describes the issues and presents a minimal amount of code that shows how to open an Open XML document from a SharePoint list, modify it, and then save it back to either the same location, or a different one if you desire.
Read More...
Sometimes you want to work with Open XML documents in memory. This blog post presents a bit of code that shows how to work with in-memory documents as a MemoryStream. The code works with either Open XML SDK V1 or CTP1 of the Open XML SDK V2.
Read More...
Zeyad Rajabi has written an interesting post on merging documents using altChunk. He shows how to assemble a book from multiple chapters. His post uses V2 of the Open XML SDK.
Read More...
Shortly after .NET was released, I wrote a book for Wrox Press on using GDI+ to develop Windows Forms custom controls. Wrox subsequently declared bankruptcy, and the rights to my book were purchased by APress, where the book was republished . You can
Read More...
By combining LINQ to SQL with LINQ to Objects in this fashion, you can write some pretty simple C# code that uses LINQ to join data across two separate, disparate data sources.
Read More...
Office is a platform. When we combine the programmability of Office Clients (Word, Excel, PowerPoint, and Access) with the programmability of SharePoint to enable deep integration of data from Line-of-Business enterprise applications, we enable building
Read More...