Skip to content

Commit 9968680

Browse files
authored
TOC changes for LINQ to XML section-part 4 (#12609)
* first set: LINQ2XML for XPath users * pure functional transforms section * chaining queries tutorial * respond to feedback.
1 parent 0903e79 commit 9968680

File tree

30 files changed

+44
-181
lines changed

30 files changed

+44
-181
lines changed

.openpublishing.redirection.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,18 @@
756756
"source_path": "docs/csharp/programming-guide/concepts/linq/querying-xml-trees.md",
757757
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/how-to-find-an-element-with-a-specific-attribute"
758758
},
759+
{
760+
"source_path": "docs/csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md",
761+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/comparison-of-xpath-and-linq-to-xml"
762+
},
763+
{
764+
"source_path": "docs/csharp/programming-guide/concepts/linq/pure-functional-transformations-of-xml.md",
765+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/introduction-to-pure-functional-transformations"
766+
},
767+
{
768+
"source_path": "docs/csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md",
769+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml"
770+
},
759771
{
760772
"source_path": "docs/csharp/programming-guide/concepts/threading/how-to-use-a-thread-pool.md",
761773
"redirect_url": "/dotnet/api/system.threading.threadpool.queueuserworkitem"

docs/csharp/programming-guide/concepts/linq/chaining-queries-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ Main: str >GHI!!!<
8282

8383
## See also
8484

85-
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md)
85+
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml.md)

docs/csharp/programming-guide/concepts/linq/chaining-standard-query-operators-together.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ms.date: 07/20/2015
44
ms.assetid: 66f2b0a9-2c23-4735-988e-bbc9dfb55c7b
55
---
66
# Chaining Standard Query Operators Together (C#)
7-
This is the final topic in the [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md) tutorial.
7+
This is the final topic in the [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml.md) tutorial.
88

99
The standard query operators can also be chained together. For example, you can interject the <xref:System.Linq.Enumerable.Where%2A?displayProperty=nameWithType> operator, and it also operates in a lazy fashion. No intermediate results are materialized by it.
1010

@@ -79,7 +79,4 @@ ToUpper: source >ghi<
7979
AppendString: source >GHI<
8080
Main: str >GHI!!!<
8181
```
82-
83-
## See also
84-
85-
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md)
82+

docs/csharp/programming-guide/concepts/linq/comparison-of-xpath-and-linq-to-xml.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,4 @@ customers.Elements("Customer").Elements("CompanyName")
9797
|preceding-sibling|<xref:System.Xml.Linq.XNode.ElementsBeforeSelf%2A?displayProperty=nameWithType><br /><br /> or<br /><br /> <xref:System.Xml.Linq.XNode.NodesBeforeSelf%2A?displayProperty=nameWithType>|
9898
|following|No direct equivalent.|
9999
|preceding|No direct equivalent.|
100-
101-
## See also
102-
103-
- [LINQ to XML for XPath Users (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md)
100+

docs/csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Query and axis operations are often implemented to use deferred execution. This
2929

3030
## See also
3131

32-
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md)
32+
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml.md)
3333
- [Concepts and Terminology (Functional Transformation) (C#)](../../../../csharp/programming-guide/concepts/linq/concepts-and-terminology-functional-transformation.md)
3434
- [Aggregation Operations (C#)](../../../../csharp/programming-guide/concepts/linq/aggregation-operations.md)
3535
- [yield](../../../../csharp/language-reference/keywords/yield.md)

docs/csharp/programming-guide/concepts/linq/deferred-execution-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ Main: str GHI
5959

6060
## See also
6161

62-
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-chaining-queries-together.md)
62+
- [Tutorial: Chaining Queries Together (C#)](../../../../csharp/programming-guide/concepts/linq/deferred-execution-and-lazy-evaluation-in-linq-to-xml.md)

docs/csharp/programming-guide/concepts/linq/functional-transformation-of-xml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This topic discusses the pure functional transformation approach to modifying XM
2020
### XML Functional Transformational Technologies
2121
Microsoft offers two functional transformation technologies for use on XML documents: XSLT and LINQ to XML. XSLT is supported in the <xref:System.Xml.Xsl> managed namespace and in the native COM implementation of MSXML. Although XSLT is a robust technology for manipulating XML documents, it requires expertise in a specialized domain, namely the XSLT language and its supporting APIs.
2222

23-
LINQ to XML provides the tools necessary to code pure functional transformations in an expressive and powerful way, within C# or Visual Basic code. For example, many of the examples in the LINQ to XML documentation use a pure functional approach. Also, in the [Tutorial: Manipulating Content in a WordprocessingML Document (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-manipulating-content-in-a-wordprocessingml-document.md) tutorial, we use LINQ to XML in a functional approach to manipulate information in a Microsoft Word document.
23+
LINQ to XML provides the tools necessary to code pure functional transformations in an expressive and powerful way, within C# or Visual Basic code. For example, many of the examples in the LINQ to XML documentation use a pure functional approach. Also, in the [Tutorial: Manipulating Content in a WordprocessingML Document (C#)](../../../../csharp/programming-guide/concepts/linq/shape-of-wordprocessingml-documents.md) tutorial, we use LINQ to XML in a functional approach to manipulate information in a Microsoft Word document.
2424

2525
For a more complete comparison of LINQ to XML with other Microsoft XML technologies, see [LINQ to XML vs. Other XML Technologies](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-vs-other-xml-technologies.md).
2626

@@ -29,5 +29,5 @@ This topic discusses the pure functional transformation approach to modifying XM
2929
## See also
3030

3131
- [Introduction to Pure Functional Transformations (C#)](../../../../csharp/programming-guide/concepts/linq/introduction-to-pure-functional-transformations.md)
32-
- [Tutorial: Manipulating Content in a WordprocessingML Document (C#)](../../../../csharp/programming-guide/concepts/linq/tutorial-manipulating-content-in-a-wordprocessingml-document.md)
32+
- [Tutorial: Manipulating Content in a WordprocessingML Document (C#)](../../../../csharp/programming-guide/concepts/linq/shape-of-wordprocessingml-documents.md)
3333
- [LINQ to XML vs. Other XML Technologies](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-vs-other-xml-technologies.md)

docs/csharp/programming-guide/concepts/linq/how-to-filter-on-an-attribute-xpath-linq-to-xml.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,3 @@ Results are identical
6565
<Country>USA</Country>
6666
</Address>
6767
```
68-
69-
## See also
70-
71-
- [LINQ to XML for XPath Users (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md)

docs/csharp/programming-guide/concepts/linq/how-to-find-a-child-element-xpath-linq-to-xml.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,4 @@ Console.WriteLine(el1);
3838
Results are identical
3939
<DeliveryNotes>Please leave packages in shed by driveway.</DeliveryNotes>
4040
```
41-
42-
## See also
43-
44-
- [LINQ to XML for XPath Users (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md)
41+

docs/csharp/programming-guide/concepts/linq/how-to-find-a-list-of-child-elements-xpath-linq-to-xml.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,4 @@ Results are identical
4343
<Zip>10999</Zip>
4444
<Country>USA</Country>
4545
```
46-
47-
## See also
48-
49-
- [LINQ to XML for XPath Users (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md)
46+

0 commit comments

Comments
 (0)