Tutorial: Manipulating Content in a WordprocessingML Document
This tutorial shows how to apply the functional transformational approach and LINQ to XML to manipulate XML documents. The C# and Visual Basic examples query and manipulate information in Office Open XML WordprocessingML documents that are saved by Microsoft Word.
For more information, see the OpenXML Developer Web site.
In This Section
Topic |
Description |
---|---|
Provides a quick explanation of details of a WordprocessingML document. |
|
Provides step-by-step instructions to create the source document for queries in this tutorial. |
|
Shows a query to find the name of the default style for a document. |
|
Shows a query that retrieves a collection of the paragraphs of a document. |
|
Augments the previous query to retrieve the text of each paragraph. |
|
Simplifies the code by refactoring using an extension method. |
|
Further simplifies the code by refactoring using a pure function. |
|
Completes an XML transformation by projecting XML in a different shape than the original document. |
|
Uses the previous queries to find a specified text string in a document. |
|
Provides some details of Office Open XML WordprocessingML documents. |
See Also
Concepts
Introduction to Pure Functional Transformations