Skip to content

Commit

Permalink
Capitalize comments in XML processing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
adegeo authored Feb 4, 2025
1 parent 3c26a2e commit 334327d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ static IEnumerable<XElement> StreamCustomerItem(string uri)
// Parse the file, save header information when encountered, and yield the
// Item XElement objects as they're created.
// loop through Customer elements
// Loop through Customer elements
do
{
if (reader.NodeType == XmlNodeType.Element && reader.Name == "Customer")
{
// move to Name element
// Move to Name element
XElement? name = null;
do
{
Expand Down Expand Up @@ -149,12 +149,12 @@ Module Module1
' Parse the file, save header information when encountered, And yield the
' Item XElement objects as they're created.

' loop through Customer elements
' Loop through Customer elements
Do

If reader.NodeType = XmlNodeType.Element And reader.Name = "Customer" Then

' move to Name element
' Move to Name element
Dim name As XElement = Nothing
Do
If reader.NodeType = XmlNodeType.Element And reader.Name = "Name" Then
Expand Down Expand Up @@ -282,12 +282,12 @@ static IEnumerable<XElement> StreamCustomerItem(string uri)
// Parse the file, save header information when encountered, and yield the
// Item XElement objects as they're created.
// loop through Customer elements
// Loop through Customer elements
do
{
if (reader.NodeType == XmlNodeType.Element && reader.Name == "Customer")
{
// move to Name element
// Move to Name element
XElement? name = null;
do
{
Expand Down Expand Up @@ -357,12 +357,12 @@ Module Module1
' Parse the file, save header information when encountered, And yield the
' Item XElement objects as they're created.

' loop through Customer elements
' Loop through Customer elements
Do

If reader.NodeType = XmlNodeType.Element And reader.Name = "Customer" Then

' move to Name element
' Move to Name element
Dim name As XElement = Nothing
Do
If reader.NodeType = XmlNodeType.Element And reader.Name = "Name" Then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ static IEnumerable<XElement> StreamCustomerItem(string uri)
// Parse the file, save header information when encountered, and yield the
// Item XElement objects as they're created.
// loop through Customer elements
// Loop through Customer elements
do
{
if (reader.NodeType == XmlNodeType.Element && reader.Name == "Customer")
{
// move to Name element
// Move to Name element
XElement? name = null;
do
{
Expand Down Expand Up @@ -148,12 +148,12 @@ Module Module1
' Parse the file, save header information when encountered, And yield the
' Item XElement objects as they're created.

' loop through Customer elements
' Loop through Customer elements
Do

If reader.NodeType = XmlNodeType.Element And reader.Name = "Customer" Then

' move to Name element
' Move to Name element
Dim name As XElement = Nothing
Do
If reader.NodeType = XmlNodeType.Element And reader.Name = "Name" Then
Expand Down

0 comments on commit 334327d

Please sign in to comment.