Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

Name

XmlDataDocument — System.Xml (system.data.dll)    class 

Synopsis

public class XmlDataDocument : XmlDocument {
// Public Constructors
   public XmlDataDocument( );  
   public XmlDataDocument( System.Data.DataSet dataset);  
// Public Instance Properties
   public DataSet DataSet{get; } 
// Public Instance Methods
   public override XmlNode CloneNode( bool deep);                     // overrides XmlDocument
   public override XmlElement CreateElement( string prefix, string localName, string namespaceURI);    // overrides XmlDocument
   public override XmlEntityReference CreateEntityReference( string name);    // overrides XmlDocument
   public override XmlElement GetElementById( string elemId);         // overrides XmlDocument
   public XmlElement GetElementFromRow( System.Data.DataRow r);  
   public DataRow GetRowFromElement( XmlElement e);  
   public override void Load( System.IO.Stream inStream);             // overrides XmlDocument
   public override void Load( string filename);                       // overrides XmlDocument
   public override void Load( System.IO.TextReader txtReader);        // overrides XmlDocument
   public override void Load( XmlReader reader);                      // overrides XmlDocument
                  // Protected Instance Methods
   protected override XPathNavigator CreateNavigator( XmlNode node);    // overrides XmlDocument
}

The XmlDataDocument is a marriage of XML and RDBMS technology; it is an XmlDocument-inheriting class that particularly understands ADO.NET DataSet objects. This offers a variety of opportunities to the .NET programmer—for example, a DataSet can be loaded into the XmlDataDocument, and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata