O'Reilly logo

ASP.NET by Example by Steven A. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with XML

Microsoft has recognized that XML “is the future.” XML is becoming a substrate upon which all kinds of solutions are built. It's a great technology for business-to-business (B2B) and application-to-application (A2A) communication. It's useful for persisting data and “Save As” scenarios. It's even being used for platform and language-independent remote procedure calls (see the chapter on Web Services). But, at its core, XML is just text (see Listing 4.28).

Listing 4.28. A customer as XML.
 <?xml version="1.0" encoding="utf-8" ?> <Customer> <Name> <First>Scott</First> <Last>Swigart</Last> </Name> <Street>2222 NE Somewhere</Street> <City>Portland</City> <State>OR</State> <ZIP>97211</ZIP> <Web>http://www.3leafsolutions.com</Web> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required