 | XDocumentWrapper Class |
This class is an abstract base class for the wrapping of an XDocument, to provide additional schema specific
document processing utilities. This class is used by the AMLEngine to provide a CAEXDocument. Other XML Engines,
supporting different schemas (PLCopen, COLLADA) could also use this base class.
Inheritance Hierarchy Namespace: Aml.Engine.XMLAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic class XDocumentWrapper : IDocument,
IDisposable
Public Class XDocumentWrapper
Implements IDocument, IDisposable
public ref class XDocumentWrapper : IDocument,
IDisposable
The XDocumentWrapper type exposes the following members.
Properties
Methods | Name | Description |
---|
 | Dispose |
Dispose
|
  | Document(IXMLWrapper) |
Gets the XDocument wrapper which contains the specified object. If the object has not been inserted into a
document,
no document is returned.
|
  | Document(XNode) |
Gets the XDocument wrapper which contains the specified XML node. If the node is not contained in an XML document,
no document is returned.
|
 | SaveToFile |
Saves the document to the specified file path.
|
 | SaveToStream |
Saves the document to the specified file path.
|
 | Unload |
Unloads this document instance.
|
 | XName |
Gets the correct XName for the provided element name (Tag name).The XName contains a namespace,
if the assigned schema requires a namespace. If no namespace is defined for the assigned schema,
no namespace is added to the XName. The XName has to be used for all Xml.Linq queries,
used to access objects with the element name.
|
Top
See Also