Skip to Content
Beginning Visual C# 2010
book

Beginning Visual C# 2010

by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon Reid, Morgan Skinner
April 2010
Beginner
1077 pages
26h 9m
English
Wrox
Content preview from Beginning Visual C# 2010

Chapter 22. XML

WHAT YOU WILL LEARN IN THIS CHAPTER

  • How to read and write Extensible Markup Language (XML)

  • The rules that apply to well-formed XML

  • How to validate your XML documents against two types of schema: XSD and XDR

  • How to use XML in your applications

  • How to use .NET to use XML in your programs

  • How to search through XML documents using XPath queries

Extensible Markup Language (XML) is a technology that has been receiving great attention for the past few years. XML is not new, and it was certainly not invented by Microsoft for use in the .NET environment, but Microsoft recognized the possibilities of XML early in its development. Because of that you will see it performing a large number of duties in .NET, from describing the configuration of your applications to transporting information between Web services.

XML is a way of storing data in a simple text format, which means that it can be read by nearly any computer. As you've seen in some of the earlier chapters about Web programming, this makes it a perfect format for transferring data over the Internet. It's even not too difficult for humans to read!

From the first versions of Visual Studio .NET it has been obvious that Microsoft is putting quite a lot of effort into developing solutions that use XML. Today most applications in .NET use XML in some form, from .config files for storing configuration details to XAML files used in Windows Presentation Foundations. Even the new document formats introduced with Office 2007 are based on ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Visual C#® 2005

Beginning Visual C#® 2005

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White
Beginning Microsoft® Visual C#® 2008

Beginning Microsoft® Visual C#® 2008

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White

Publisher Resources

ISBN: 9780470502266Purchase book