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> ...

Get ASP.NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.