Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Microsoft Office 2010 Engineering
The official blog of the Microsoft Office product development group
Common Tasks
Blog Home
Email Blog Author
Subscribe via RSS
RSS for posts
Recent Posts
Leaving Microsoft, Blog Moving to EricWhite.com
Posted
over 2 years ago
by
Eric White - Independant Consultant
8
Comments
Using the OData Rest API for CRUD Operations on a SharePoint List
Posted
over 3 years ago
by
Eric White - Independant Consultant
1
Comments
Comparing Excel Automation to Excel Services
Posted
over 3 years ago
by
Eric White - Independant Consultant
0
Comments
Microsoft Word 2010 Developer Building Blocks
Posted
over 3 years ago
by
Eric White - Independant Consultant
4
Comments
How to Install and Activate the IW Demo/Evaluation Hyper-V Machine
Posted
over 3 years ago
by
Eric White - Independant Consultant
1
Comments
Tags
BCS
Book Recommendations
C#
Claims-based Identity
FP Tutorial
FP-Tutorial-VB
Functional Programming
LINQ
LINQ to XML
Managed Add-In
News
OBA
Office
Office 2010
OpenXML
OpenXmlSdk
Pages
PowerTools
Recursive Descent Parser
SharePoint
SharePoint 2010
SpreadsheetML
Useful Code Snippets
VBA
XML
Microsoft Blogs
Articles
Tutorial in Functional Programming using C# 3.0
How to Write Queries in a Functional Style
Blog Map
Eric White's Blog Map
Tutorial in Functional Programming using VB 9.0
Archives
Archives
January 2011
(1)
December 2010
(9)
November 2010
(4)
October 2010
(1)
September 2010
(1)
August 2010
(1)
July 2010
(9)
June 2010
(8)
May 2010
(4)
April 2010
(7)
March 2010
(26)
February 2010
(7)
January 2010
(12)
December 2009
(11)
November 2009
(21)
October 2009
(6)
September 2009
(2)
August 2009
(3)
July 2009
(9)
June 2009
(3)
May 2009
(8)
April 2009
(10)
March 2009
(6)
February 2009
(9)
January 2009
(8)
December 2008
(11)
November 2008
(44)
October 2008
(22)
September 2008
(19)
August 2008
(11)
July 2008
(20)
June 2008
(13)
May 2008
(3)
April 2008
(20)
March 2008
(7)
February 2008
(3)
January 2008
(4)
December 2007
(20)
November 2007
(1)
October 2007
(1)
August 2007
(1)
July 2007
(1)
May 2007
(1)
April 2007
(3)
October 2006
(32)
September 2006
(5)
August 2006
(3)
May 2006
(3)
April 2006
(2)
Browse by Tags
MSDN Blogs
>
Eric White's Blog
>
All Tags
>
functional programming
Browse by Tags
Book Recommendations
C#
Dynamic Types
FP Tutorial
FP-Tutorial-VB
LINQ
LINQ to XML
OpenXML
OpenXmlSdk
PowerTools
Recursive Descent Parser
SharePoint
SharePoint 2010
SpreadsheetML
Useful Code Snippets
XML
Blog Post:
Leaving Microsoft, Blog Moving to EricWhite.com
Eric White - Independant Consultant
Due to personal obligations (moving away from Seattle) it is with sadness that I’m announcing that I’m leaving Microsoft. My last day at Microsoft will be January 21. This will be the last post on this blog. I will be commencing to blog at EricWhite.com/blog . Here is what I'm planning for...
on
19 Jan 2011
Blog Post:
Building a Simple Recursive Descent Parser (Completed Simple Parser)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In this post, I complete the recursive descent parser that will parse the simple grammar that I presented previously in this series. In this post, I’ll examine in detail the NospaceExpression class, which needs to implement operator...
on
23 Sep 2010
Blog Post:
Building a Simple Recursive Descent Parser (continued)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In this post, I further enhance the recursive descent parser that will parse the simple grammar that I presented previously in this series. I’ll examine some more classes that represent symbols in that grammar. The classes I present...
on
3 Aug 2010
Blog Post:
Building a Simple Recursive Descent Parser
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In this post, I present the start of a recursive descent parser that will parse the simple grammar that I presented previously in this series. I’ll point out some key features of the code so that it is easy to see how the code works...
on
30 Jul 2010
Blog Post:
Table Markup in Open XML SpreadsheetML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Tables are a feature in Open XML spreadsheets that allow you to interact with data more like a database. You can select a region and convert it to a table. Most Excel aficionados are familiar with this feature. It is very useful. ...
on
21 Jul 2010
Blog Post:
Creating a Collection from Singletons and Collections using LINQ
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog A key operation when doing pure functional transformations is the process of creating complex hierarchies of objects. We see this when transforming some data source (such as an Open XML WordprocessingML document) to a LINQ to XML tree...
on
15 Jul 2010
Blog Post:
Recursive Descent Parser: A Simple Grammar
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog To learn how recursive descent parsers work, it is helpful to implement a very simple grammar, so for pedagogical purposes, I’ve defined a grammar for simple arithmetic expressions. The parser will construct a syntax tree from expressions...
on
13 Jul 2010
Blog Post:
Writing a Recursive Descent Parser using C# and LINQ
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Recursive descent parsers are one of the easier types of parsers to implement. Given a properly defined grammar, you write a class for each production in the grammar, and you write one fairly simple method in each class. Each of those...
on
29 Jun 2010
Blog Post:
Hex Dump using LINQ (in 7 Lines of Code)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog At one point while debugging the HtmlConverter class , when I found certain situations in the XML, I wanted to dump the XML in binary to see the actual hex values of characters being used. I got tired of stopping and examining the values...
on
12 Mar 2010
Blog Post:
Ad-Hoc String Concatenation using LINQ
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog I regularly use functional programming and LINQ in two contexts – when writing code that is part of an example or tool that will potentially execute millions of times, and when writing ad-hoc queries. These days, I use C# and LINQ...
on
10 Mar 2010
Blog Post:
Rollup Extension Method: Create Running Totals using LINQ to Objects
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Recently, I had need for a new extension method for IEnumerable<T>, which I call "Rollup". This extension method is sort of a cross between the Select and Aggregate extension methods. Like Select, when using this extension method...
on
15 Feb 2010
Blog Post:
Writing Entity References using LINQ to XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . I need to write out some XHtml, and in several places, I want that XHtml to contain entities references...
on
21 Jan 2010
Blog Post:
Working with Numbering in Open XML WordprocessingML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . When implementing a conversion of Open XML word processing documents to HTML, one of the interesting...
on
15 Dec 2009
Blog Post:
Implementing 'Inheritance' in XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . Some XML vocabularies implement a powerful XML pattern that is analogous to inheritance in programming...
on
13 Dec 2009
Blog Post:
Transforming Open XML Word-Processing Documents to Html (Post #3)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . Over the last couple of weeks, and over the next week, I've been designing and writing some code to...
on
24 Oct 2009
Blog Post:
Transforming Open XML Word-Processing Documents to XHtml (Post #2)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . Last week, I blogged about a small project that I'm embarking on: to make a reasonably accurate transform...
on
21 Oct 2009
Blog Post:
Transforming Open XML Word-Processing Documents to XHtml
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . Over the next couple of weeks, I'm going to spend some time writing some LINQ to XML code to transform...
on
11 Oct 2009
Blog Post:
DescendantsAndSelfTrimmed LINQ to XML Axis Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog There are some circumstances where I need a variation on the DescendantsAndSelf axis method that allows me to specify that specific elements (and the descendants of those elements) are ‘trimmed’ from the returned collection...
on
19 Aug 2009
Blog Post:
Update to CommentMerger.MergeComments Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Word 2007 has a feature where you can lock a document, preventing any changes to content, yet allowing the user to add comments. CommentMerger is a small method (~400 lines of code) that merges comments from two documents into a single...
on
11 Aug 2009
Blog Post:
Merging Comments from Multiple Open XML Documents into a Single Document
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Microsoft Word 2007 allows you to lock a document, prohibiting users from making changes to content, while allowing them to add comments. If we have multiple documents that have the same content yet different comments, we can merge those...
on
27 Jul 2009
Blog Post:
Recursive Approach to Pure Functional Transformations of XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Writing pure functional transformations a in a recursive style enables us to put together interesting transformations in a very small amount of code. Using some specific techniques that allow us to write this code very concisely, this...
on
20 Jul 2009
Blog Post:
Document-Centric Transforms using LINQ to XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog When thought of in a certain way, XML documents come in two flavors – data-centric and document-centric. Further, there are two types of document-centric documents. This post presents my thoughts about approaches to various types...
on
9 Jul 2009
Blog Post:
Comparing Two Open XML Documents using the Zip Extension Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Sometimes we want to compare two word processing documents to see if they contain the same content. I’m working on a blog post to merge comments from multiple Open XML documents into a single document. This is based on a feature...
on
5 Jul 2009
Blog Post:
Querying LINQ to XML Nodes in Reverse Document Order with Better Performance
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog (Update June 25, 2009 - fixed bugs in event handlers associated with deleting last node and inserting node at beginning of list) Occasionally I need to query LINQ to XML nodes in reverse document order. I’m currently writing some...
on
24 Jun 2009
Blog Post:
Working with Optional Elements and Attributes in LINQ to XML Queries
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Often XML schemas allow for optional elements and attributes. When you write queries on these elements or attributes, you may be tempted to write code that does lots of testing for null. There is a better way to do this, laid out in this...
on
13 May 2009
Page 1 of 2 (44 items)
1
2