XML and Data

XML has become a popular choice for the representation of data in applications. Before XML, almost all "serious" data in applications was held in a database of some form, usually a relational database. Developers became accustomed to dealing with data from relational databases in terms of the structure and relationships between tables (embodied in the schema of the database) and the SQL statements used to retrieve data from those tables.

If you consider that XML data also has a schema and a query mechanism (XPath), you can see that the two models have many similarities. In some cases, it is easier to manipulate and transport application data in terms of database artifacts, such as set of database records as embodied in an ADO.NET ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.