5 Ways to Parse XML in C#

This tutorial illustrates five ways to parse XML in C#. To make the tutorial more user-friendly and easier to understand, actual scripts can be tested and run in your Visual Web Developer environment. I’ll emphasize ASP.NET web development applications/implementations of parsing XML. With little modification of the scripts, however, they can also be tested in a console environment. You can download complete scripts illustrating each of these five ways at the end of the tutorial.
Continue reading

Create ASP.NET 3.5 Sitemap XML for Navigational Web Controls

It is important to create a user-friendly website. One aspect that defines a user friendly website is having clearly-defined navigation based on a web sitemap. In ASP.NET 3.5, there are “navigational” web controls that are used to create and present navigation to website users. These navigational web controls depend on the website’s XML sitemap. This tutorial will illustrate how a developer can create this XML sitemap, which can be used to power the web controls needed to present website navigation.
Continue reading