Skip to content

Commit 3df8ec3

Browse files
authored
TOC changes for linq to XML - Part 2 (#12583)
* Up through parsing XML * first working with namespaces node * add serializing folder * The LINQ to XML Axes folder. * respond to feedback.
1 parent 46cba76 commit 3df8ec3

32 files changed

+44
-146
lines changed

.openpublishing.redirection.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,22 @@
728728
"source_path": "docs/csharp/programming-guide/concepts/linq/programming-guide-linq-to-xml.md",
729729
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/linq-to-xml-overview"
730730
},
731+
{
732+
"source_path": "docs/csharp/programming-guide/concepts/linq/linq-to-xml-axes.md",
733+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/linq-to-xml-axes-overview"
734+
},
735+
{
736+
"source_path": "docs/csharp/programming-guide/concepts/linq/parsing-xml.md",
737+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/how-to-parse-a-string"
738+
},
739+
{
740+
"source_path": "docs/csharp/programming-guide/concepts/linq/serializing-xml-trees.md",
741+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/serializing-to-files-textwriters-and-xmlwriters"
742+
},
743+
{
744+
"source_path": "docs/csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md",
745+
"redirect_url": "/dotnet/csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml"
746+
},
731747
{
732748
"source_path": "docs/csharp/programming-guide/concepts/threading/how-to-use-a-thread-pool.md",
733749
"redirect_url": "/dotnet/api/system.threading.threadpool.queueuserworkitem"

docs/csharp/programming-guide/concepts/linq/how-to-catch-parsing-errors.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,4 @@ The 'Contacts' start tag on line 1 does not match the end tag of 'Contcts'. Line
3535
```
3636

3737
For information about the exceptions that you can expect the <xref:System.Xml.Linq.XElement.Parse%2A?displayProperty=nameWithType>, <xref:System.Xml.Linq.XDocument.Parse%2A?displayProperty=nameWithType>, <xref:System.Xml.Linq.XElement.Load%2A?displayProperty=nameWithType>, and <xref:System.Xml.Linq.XDocument.Load%2A?displayProperty=nameWithType> methods to throw, see the <xref:System.Xml.XmlReader> documentation.
38-
39-
## See also
40-
41-
- [Parsing XML (C#)](../../../../csharp/programming-guide/concepts/linq/parsing-xml.md)
38+

docs/csharp/programming-guide/concepts/linq/how-to-chain-axis-method-calls-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ foreach (XElement cp in configParameters)
8282
```
8383

8484
## Example
85-
The following example shows the same technique 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).
85+
The following example shows the same technique 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).
8686

8787
This example uses the following XML document: [Sample XML File: Multiple Purchase Orders in a Namespace](../../../../csharp/programming-guide/concepts/linq/sample-xml-file-multiple-purchase-orders-in-a-namespace.md).
8888

docs/csharp/programming-guide/concepts/linq/how-to-control-namespace-prefixes-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ Console.WriteLine(root);
5050

5151
## See also
5252

53-
- [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md)
53+
- [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md)

docs/csharp/programming-guide/concepts/linq/how-to-create-a-document-with-namespaces-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ Console.WriteLine(root);
138138

139139
## See also
140140

141-
- [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/working-with-xml-namespaces.md)
141+
- [Working with XML Namespaces (C#)](../../../../csharp/programming-guide/concepts/linq/namespaces-overview-linq-to-xml.md)

docs/csharp/programming-guide/concepts/linq/how-to-filter-on-element-names-linq-to-xml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ProductName:Baby Monitor
4444
- <xref:System.Xml.Linq.XElement.DescendantsAndSelf%2A>
4545

4646
## Example
47-
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).
47+
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).
4848

4949
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).
5050

@@ -67,4 +67,4 @@ foreach (XElement prdName in items)
6767

6868
## See also
6969

70-
- [LINQ to XML Axes (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-axes.md)
70+
- [LINQ to XML Axes (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-axes-overview.md)

docs/csharp/programming-guide/concepts/linq/how-to-load-xml-from-a-file.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,4 @@ Console.WriteLine(booksFromFile);
4141
</Book>
4242
</Catalog>
4343
```
44-
45-
## See also
46-
47-
- [Parsing XML (C#)](../../../../csharp/programming-guide/concepts/linq/parsing-xml.md)
44+

docs/csharp/programming-guide/concepts/linq/how-to-parse-a-string.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,3 @@ XElement contacts = XElement.Parse(
3838
</Contacts>");
3939
Console.WriteLine(contacts);
4040
```
41-
42-
## See also
43-
44-
- [Parsing XML (C#)](../../../../csharp/programming-guide/concepts/linq/parsing-xml.md)

docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ Console.WriteLine(newTree);
6161
- <xref:System.Xml.Linq.XContainer.CreateWriter%2A>
6262
- <xref:System.Xml.XmlWriter>
6363
- <xref:System.Xml.Xsl.XslCompiledTransform>
64-
- [Creating XML Trees (C#)](../../../../csharp/programming-guide/concepts/linq/creating-xml-trees.md)
64+
- [Creating XML Trees (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-overview.md)

docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ ConvertableTo="double"
3232

3333
## See also
3434

35-
- [LINQ to XML Axes (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-axes.md)
35+
- [LINQ to XML Axes (C#)](../../../../csharp/programming-guide/concepts/linq/linq-to-xml-axes-overview.md)

0 commit comments

Comments
 (0)