XmlDataDocument Input to XslTransform

The Microsoft .NET Framework implements the XML DOM to provide access to data in XML documents and additional classes to read, write, and navigate in XML documents. The XmlDataDocument, found in the System.Xml namespace, provides relational access to data with its ability to synchronize with the relational data in the DataSet. You can simultaneously view and manipulate structured XML through the relational representation of the DataSet or manipulate the semi-structured XML through the DOM representation of the XmlDataDocument. The XmlDataDocument therefore crosses the boundaries of the XML and the relational worlds.

If data is stored in a relational structure and you want it to be input to an XSLT transform, you can load the relational data into a DataSet and associate it with the XmlDataDocument. The XPathNavigator, the input to the XslTransform, is implemented on the XmlDataDocument through the IXPathNavigable interface. By taking relational data, loading it into a DataSet, and using the synchronizing within the XmlDataDocument, the relational data can now have XSLT transformations performed on it.

For more information on applying a transform to relational data, see Applying an XSL Transform to a DataSet.

See Also

Synchronizing a DataSet with an XmlDataDocument | XSLT Transformations with the XslTransform Class | XslTransform Class Implements the XSLT Processor | XPathNavigator in Transformations | XPathNodeIterator in Transformations | XPathDocument Input to XslTransform | XmlDocument Input to XslTransform | XmlDataDocument Members | XmlDataDocument Class