Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@
"source_path": "docs/csharp/programming-guide/concepts/async/asynchronous-programming-with-async-and-await.md",
"redirect_url": "/dotnet/csharp/async/"
},
{
"source_path": "docs/csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml"
},
{
"source_path": "docs/csharp/programming-guide/concepts/linq/cloning-vs-attaching.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/creating-xml-trees-linq-to-xml-2#attaching-vs-cloning"
Expand Down Expand Up @@ -744,6 +748,14 @@
"source_path": "docs/csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml"
},
{
"source_path": "docs/csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/how-to-work-with-dictionaries-using-linq-to-xml"
},
{
"source_path": "docs/csharp/programming-guide/concepts/linq/querying-xml-trees.md",
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/how-to-find-an-element-with-a-specific-attribute"
},
{
"source_path": "docs/csharp/programming-guide/concepts/threading/how-to-use-a-thread-pool.md",
"redirect_url": "/dotnet/api/system.threading.threadpool.queueuserworkitem"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ foreach (decimal ex in extensions)
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

This example uses the following XML document: [Sample XML File: Numerical Data in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-numerical-data-in-a-namespace.md).

Expand All @@ -60,7 +60,3 @@ foreach (decimal ex in extensions)
198.00
435.00
```

## See also

- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ LETSS:Let's Stop N Shop:Jaime Yorres
## See also

- <xref:System.Linq.Enumerable.Select%2A>
- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,3 @@ Console.WriteLine(newData);
</Group>
</Root>
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ One of the most common problems when querying XML trees is that if the XML tree

The second set of examples show the necessary corrections so that you can query XML in a namespace.

For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

## Example
This example shows creation of XML in a namespace, and a query that returns an empty result set.
Expand Down Expand Up @@ -75,7 +75,3 @@ Result set follows:
3
End of result set
```

## See also

- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Child Four Text
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

```csharp
XElement root = XElement.Parse(@"<Root xmlns='http://www.adatum.com'>
Expand Down Expand Up @@ -94,6 +94,5 @@ Child Four Text
- <xref:System.Xml.Linq.XElement.Attribute%2A?displayProperty=nameWithType>
- <xref:System.Xml.Linq.XContainer.Elements%2A?displayProperty=nameWithType>
- <xref:System.Xml.Linq.Extensions.Elements%2A?displayProperty=nameWithType>
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
- [Standard Query Operators Overview (C#)](../../../../csharp/programming-guide/concepts/linq/standard-query-operators-overview.md)
- [Projection Operations (C#)](../../../../csharp/programming-guide/concepts/linq/projection-operations.md)
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ GC3 Value
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

```csharp
XElement root = XElement.Parse(@"<aw:Root xmlns:aw='http://www.adventure-works.com'>
Expand Down Expand Up @@ -66,7 +66,3 @@ Console.WriteLine(grandChild3);
```
GC3 Value
```

## See also

- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,3 @@ Console.WriteLine(newTree);
</aw:PurchaseOrder>
</Root>
```

## See also

- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ foreach (XElement el in address)
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

This example uses the following XML document: [Sample XML File: Typical Purchase Order in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-typical-purchase-order-in-a-namespace.md).

Expand Down Expand Up @@ -67,6 +67,5 @@ foreach (XElement el in address)

- <xref:System.Xml.Linq.XElement.Attribute%2A>
- <xref:System.Xml.Linq.XContainer.Elements%2A>
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
- [Standard Query Operators Overview (C#)](../../../../csharp/programming-guide/concepts/linq/standard-query-operators-overview.md)
- [Projection Operations (C#)](../../../../csharp/programming-guide/concepts/linq/projection-operations.md)
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ foreach (XElement el in tests)
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

This example uses the following XML document: [Sample XML File: Test Configuration in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-test-configuration-in-a-namespace1.md).

Expand All @@ -55,6 +55,5 @@ foreach (XElement el in tests)

- <xref:System.Xml.Linq.XElement.Attribute%2A>
- <xref:System.Xml.Linq.XContainer.Elements%2A>
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
- [Standard Query Operators Overview (C#)](../../../../csharp/programming-guide/concepts/linq/standard-query-operators-overview.md)
- [Projection Operations (C#)](../../../../csharp/programming-guide/concepts/linq/projection-operations.md)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Some text that is broken up into multiple segments.
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

```csharp
XElement root = XElement.Parse(@"<root xmlns='http://www.adatum.com'>
Expand Down Expand Up @@ -88,4 +88,3 @@ Some text that is broken up into multiple segments.
## See also

- <xref:System.Xml.Linq.XContainer.Descendants%2A>
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,4 @@ Console.WriteLine(cust);
</Customer>
</Root>
```

## See also

- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,3 @@ Attempting to validate, custOrdDoc validated
</Order>
</Root>
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,4 @@ class Program
/Root/aw:ElementInNamespace
/Root/aw:ElementInNamespace/aw:ChildInNamespace
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,4 @@ class Program
```
New first paragraph: >PARSING WORDPROCESSINGML WITH LINQ TO XML<
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ class Program
## See also

- <xref:System.Xml.Linq.XStreamingElement>
- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,3 @@ class Program
------
Total File Size:59089
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,4 @@ class Program {
Lawnmower:1
Baby Monitor:2
```

## See also

- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,4 @@ HUNGC:Hungry Coyote Import Store:Yoshi Latimer
LAZYK:Lazy K Kountry Store:John Steel
LETSS:Let's Stop N Shop:Jaime Yorres
```

## See also

- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,3 @@ ShipDate: 5/21/1999

- <xref:System.Linq.Enumerable.Select%2A>
- <xref:System.Linq.Enumerable.ToList%2A>
- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,4 @@ foreach (XElement el in list)
<Child2>5</Child2>
<Child2>6</Child2>
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This topic presents an example that opens an Office Open XML document, and retri

The example uses an extension method named `StringConcatenate`, which is also supplied in the example.

For a detailed tutorial that explains how this example works, see [Pure Functional Transformations of XML (C#)](../../../../csharp/programming-guide/concepts/linq/pure-functional-transformations-of-xml.md).
For a detailed tutorial that explains how this example works, see [Pure Functional Transformations of XML (C#)](../../../../csharp/programming-guide/concepts/linq/introduction-to-pure-functional-transformations.md).

This example uses classes found in the WindowsBase assembly. It uses types in the <xref:System.IO.Packaging?displayProperty=nameWithType> namespace.

Expand Down Expand Up @@ -176,7 +176,3 @@ StyleName:Normal >This example produces the following output:<
StyleName:Normal ><
StyleName:Code >Hello World<
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CustomerID:LAZYK EmployeeID:8 ShipPostalCode:99362 OrderDate:5/22/1997
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

This example uses the following XML document: [Sample XML File: Customers and Orders in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-customers-and-orders-in-a-namespace.md).

Expand Down Expand Up @@ -106,6 +106,3 @@ CustomerID:LAZYK EmployeeID:1 ShipPostalCode:99362 OrderDate:3/21/1997
CustomerID:LAZYK EmployeeID:8 ShipPostalCode:99362 OrderDate:5/22/1997
```

## See also

- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ foreach (decimal el in prices)
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

This example uses the following XML document: [Sample XML File: Numerical Data in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-numerical-data-in-a-namespace.md).

Expand Down Expand Up @@ -64,4 +64,3 @@ foreach (decimal el in prices)
## See also

- [Sorting Data (C#)](../../../../csharp/programming-guide/concepts/linq/sorting-data.md)
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,3 @@ static void Main(string[] args)
<COUNTRY>USA</COUNTRY>
</PO>
```

## See also

- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,4 @@ Child2:Value2
Child3:Value3
Child4:Value4
```

## See also

- [Projections and Transformations (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/projections-and-transformations-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,4 @@ class Program
/PurchaseOrders/PurchaseOrder[3]/@OrderDate
1999-10-22
```

## See also

- [Advanced Query Techniques (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/advanced-query-techniques-linq-to-xml.md)

Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ id = 6
```

## Example
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md).
The following example shows the same query for XML that is in a namespace. For more information, see [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md).

```csharp
XElement doc = XElement.Parse(@"<Root xmlns='http://www.adatum.com'>
Expand Down Expand Up @@ -98,4 +98,3 @@ id = 6
- <xref:System.Xml.Linq.XContainer.Descendants%2A>
- <xref:System.Xml.Linq.XNode.ElementsAfterSelf%2A>
- <xref:System.Linq.Enumerable.FirstOrDefault%2A>
- [Basic Queries (LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md)
Loading