Welcome to MSDN Blogs Sign in | Join | Help

July 2008 - Posts

Interesting Interview of Oliver Bell: Developer Interest Fueling Open XML
ZDNet Asia recently interviewed Oliver Bell, Microsoft Asia-Pacific's regional technology officer. The story mentions Oliver's blog post on the value that custom schema support adds to the format. I can attest that I've had several conversations recently Read More...
SharePoint: Content Management vs. Collaboration
This week, I’ve been attending a gathering of Microsoft technical sales professionals. In one presentation, I heard the following opinion (paraphrased): “The most important pillar of SharePoint is content management. This is the core value proposition Read More...
Version 1.2 of Open XML Diff Released
Pranav released another drop of Open XML Diff . There are a couple of bugs fixed. Read about Open XML Diff here . This tool is a developer's friend. When I'm writing code to generate an Open XML Document, I know how I want the document to render in Word, Read More...
Using PowerTools for Open XML from C#
Antonio Zamora from Staff DotNet has posted something pretty cool - firing off a PowerShell script from C# to apply a consistent style to multiple Open XML documents. This is an interesting way to take advantage of the PowerTools for Open XML . Read More...
Are Developers Using LINQ? (Part 2)
The response to my previous blog post has been very interesting to me. And it has, to a very large extent, matched my own experience. I have seen four basic scenarios where folks use LINQ: Using LINQ to Objects (and LINQ to XML, which is really just LINQ Read More...
Are Developers Using LINQ?
I had an interesting conversation with my nephew the other day. He is a very bright CS student working as a summer intern at a software company (not Microsoft). He is programming in C# using Visual Studio 2008. I asked him if developers at his company Read More...
Removing Comments and Personal Information, and Accepting Revisions in an Open XML Document Stored in SharePoint
This post presents a custom application page in SharePoint that uses Open XML, the Open XML SDK and LINQ to XML to accept revisions, remove comments, and remove personal information from an Open XML word processing document. The following 45 second screen-cast Read More...
Diving Into SharePoint Development
In the next series of blog posts, I’ll be exploring some interesting aspects of SharePoint development. In particular, I’ll be examining how to leverage the combination of Open XML, LINQ to XML, and SharePoint. The Open XML document formats enable new Read More...
Where is XmlLite.h?
For those who don't know, XmlLite is a very lightweight, fast pull parser that was introduced with the Vista SDK. It is a native parser, not part of the managed API. However, unlike MSXML, it's ok to use with .NET using COM interop. There have been questions Read More...
A New Version of OpenXmlDiff (with a Graphical User Interface)
Here is something that is very, very cool! Pranav Wagh has built a much improved version of OpenXmlDiff , with a graphical user interface. And its free, already built (binaries available) on code.msdn.com/OpenXMLDiff . When you start the program, you Read More...
Use PowerShell to Secure and Sign Open XML Documents
Julien Chable written a concise post on using PowerShell and Power Tools for Open XML to secure and sign Open XML documents. He also has a short, useful intro to creating a PowerShell profile. One more thing, Julien has joined the Power Tools for Open Read More...
Writing Robust LINQ to XML Code that Performs Well
In the last three posts, in addition to the information regarding how we want to alter the markup in an Open XML document, I've made a few observations about how to write LINQ to XML code when modifying an XML tree in such a way that it becomes harder Read More...
Using the Open XML SDK and LINQ to XML to Remove Comments from an Open XML Wordprocessing Document
This post presents a snippet of code to remove comments from an Open XML Wordprocessing document. Note: This post may be of interest to LINQ to XML developers, as it contains some information that helps you write queries that perform better. In the case Read More...
Using the Open XML SDK and LINQ to XML to Remove Personal Information from an Open XML Wordprocessing Document
This post presents some code to remove personal information from an Open XML word processing document. Note: this post contains interesting information for LINQ to XML developers even if you are not interested in removing personal information from a document. Read More...
Using the Open XML SDK and LINQ to XML to Accept Revisions in an Open XML Wordprocessing Document
In this post, I present some code that uses the Open XML SDK and LINQ to XML to accept all revisions in an Open XML word processing document. So, for example, if we have this document: And we run this code, the document then looks like this: The main Read More...
Applying Consistent Styles to Documents
Antonio Zamora at Staff DotNet has written an interesting post on using the PowerTools for Open XML to apply consistent styles to documents. It gets information from a template document (headers, footers, and theme) and sets this information on the target Read More...
How to Create Hierarchy from Flat Data using LINQ
This is a fun, geeky post for those interested in functional programming. Sometimes you have flat data where there is hierarchy expressed in the data, but the form of the data is flat. You may need to transform this data into a hierarchy, such as an XML Read More...
PowerShell, System.IO.Packaging, and Open XML
Doug Finke has an interesting post on using System.IO.Packaging (the basis for Open XML documents) with PowerShell. He has developed a cmdlet that allows interaction with Open XML documents. The code forms the basis for an approach to modify the contents Read More...
Open XML SDK and LINQ to XML
In this post, I’m presenting some code that uses the Open XML SDK and LINQ to XML to query an Open XML document. I’ve posted on this before , but this version is cleaner and smaller. It also is an example of code written in the functional style . The Read More...
PowerTools for Open XML: Binary Install Available
Staff Dot Net , a consultancy and training company, is now providing binary builds of the PowerTools for Open XML . You can download the binary build here . Note that this binary build still requires .NET 3.5 to be installed. The PowerTools use LINQ to Read More...
Page view tracker