|
|
Browse by Tags
All Tags » LINQ to XML
Showing page 1 of 2 (18 total posts)
-
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 were using LINQ, and he said, ''No, that the folks in charge had basically ...
-
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 demonstrates the code presented in this post.Video: Using Open XML with SharePoint ...
-
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 to introduce bugs. In addition, I've also mentioned a couple of other points that ...
-
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 of very large documents, the approach described ...
-
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. It demonstrates some easy ways to write robust code in LINQ to XML that behaves ...
-
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 part of the work when accepting revisions is to delete a bunch of nodes, however, ...
-
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 tree.
For instance, you may have the following data:
Heading[] headings = new[] ...
-
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 most common need is to retrieve the paragraphs of a word processing ...
-
In our family, we have a rule – on Mother's day, my wife basically gets to set the agenda for the entire weekend. And, as appropriate, she doesn't have to lift a finger around the house. And on Father's day, the same rule applies for me. But on all other weekends, normal rules apply. This year, because my wife was out of ...
-
One of the really cool things about working at Microsoft is the chance to work on next generation technologies that really make a difference. A few weeks ago, my boss offered me the chance to work on the technical evangelism effort for the next version of SharePoint, and I jumped at the chance.
Note: This isn't replacing our evangelism ...
1
|
|
|