ADO.NET and XML classes are tightly integrated in the .NET Framework.
DataSet can be filled with data or a schema
from an XML stream or document. The
persist or serialize its data or schema to an XML stream or document.
ADO synchronizes the
DataSet with an
XmlDataDocument. Data can be modified
simultaneously using either class as needed; all changes made in one
class are immediately reflected in the other class. This chapter
focuses on XML support in ADO.NET and in SQL Server 2000.
The XML support in .NET is provided by integrated classes in five namespaces:
Contains classes that provide standards-based support for processing XML
Contains classes that provide standards-based support for XML Schema Definition (XSD) language schemas
Contains classes that serialize objects into XML documents or streams
Contains classes that parse and evaluate XPath
Contains classes that support Extensible Stylesheet Language (XSL) transformations
DiffGram is an XML format that identifies
current and original versions of data allowing the contents of a
DataSet to be recreated accurately. The
DiffGram allows you to identify the changes made
DataSet since it was filled. The
DataSet uses the
format to persist and to serialize its contents for transport across
a network. Recipe 8.8 shows how to create a
DiffGram of changes made to a
SQL Server 2000 introduced ...