Skip to content

Commit e165ab5

Browse files
RobinARHRon Petrusha
authored andcommitted
Fix a few typos. (#2533)
1 parent 69a253e commit e165ab5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Xml/XmlDocument.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
6868
<a name="Load"></a>
6969
## Load XML into the document object model
70-
Start with an XML document like this one. it's just a few books in a collection. But it does contain the basic things that you'd find in any XML document; a namespace, elements that represent data and attributes that describe the data.
70+
Start with an XML document like this one that has a few books in a collection. It contains the basic things that you'd find in any XML document, including a namespace, elements that represent data, and attributes that describe the data.
7171
7272
```xml
7373
<?xml version="1.0" encoding="utf-8"?>
@@ -145,7 +145,7 @@
145145
## Navigate the document tree
146146
You can use properties to navigate around an XML document. But before you use any of them, let's quickly review a few terms. Your document is composed of nodes. Each node has as single *parent* node directly above it. The only node that does not have a parent node is the document root, as it is the top-level node. Most nodes can have *child* nodes, which are nodes directly below them. Nodes that are at the same level are *siblings*.
147147
148-
The following examples, show you how to obtain the root node, jump to the first child node of the root node, access any of its child nodes, get back out to the parent node, and then navigate across sibling nodes.
148+
The following examples show you how to obtain the root node, jump to the first child node of the root node, access any of its child nodes, get back out to the parent node, and then navigate across sibling nodes.
149149
150150
**Start with the root node**
151151
@@ -169,7 +169,7 @@
169169
170170
**Refer to the last child node**
171171
172-
This example writes the price of a book to the console (which is the last child node of a book node).
172+
This example writes the price of a book to the console. The price node is the last child of a book node.
173173
174174
[!code-cpp[Classic WebData XmlNode.LastChild Example#1](~/samples/snippets/cpp/VS_Snippets_Data/Classic WebData XmlNode.LastChild Example/CPP/source.cpp#1)]
175175
[!code-csharp[Classic WebData XmlNode.LastChild Example#1](~/samples/snippets/csharp/VS_Snippets_Data/Classic WebData XmlNode.LastChild Example/CS/source.cs#1)]
@@ -4617,4 +4617,4 @@ doc.Save(Console.Out);
46174617
</Docs>
46184618
</Member>
46194619
</Members>
4620-
</Type>
4620+
</Type>

0 commit comments

Comments
 (0)