NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlImplementation Class

Provides methods for performing operations that are independent of any particular instance of the document object model.

Object
   XmlImplementation

[Visual Basic]
Public Class XmlImplementation
[C#]
public class XmlImplementation
[C++]
public __gc class XmlImplementation
[JScript]
public class XmlImplementation

Remarks

This class defines the context for a set of XmlDocument objects. Nodes from documents that come from the same implementation are interchangeable, in other words, you can move nodes around multiple document instances if and only if those documents come from the same implementation. For example, the following shows how a node created by doc1 can be inserted into doc2 without a WRONG_DOC_ERR exception. This is because both document objects share the same implementation context.

[C#]

XmlImplementation imp = new XmlImplementation();
XmlDocument doc1 = imp.CreateDocument();
XmlDocument doc2 = imp.CreateDocument();
doc2.AppendChild(doc1.CreateElement("foo"));

Requirements

Namespace: System.NewXml

Assembly: System.Xml.dll

See Also

XmlImplementation Members | System.NewXml Namespace