Interface IXmlDocument
An interface for XML document access.
Inherited Members
Namespace: Tangosol.Run.Xml
Assembly: Coherence.dll
Syntax
public interface IXmlDocument : IXmlElement, IXmlValue, ICloneable
Remarks
The IXmlDocumnet interface represents the document as both the root element (through the underlying IXmlElement interface) and the properties specific to a document, such as DOCTYPE.
Properties
DocumentComment
Get or set the XML comment that appears outside of the root element.
Declaration
string DocumentComment { get; set; }
Property Value
Type | Description |
---|---|
string | The document comment. |
Remarks
This differs from the Comment property of this object, which refers to the comment within the root element.
DtdName
Get or set the public identifier of the DTD (DOCTYPE) for the document.
Declaration
string DtdName { get; set; }
Property Value
Type | Description |
---|---|
string | The DTD public identifier. |
Examples
-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN
DtdUri
Get or set the URI of the DTD (DOCTYPE) for the document.
Declaration
string DtdUri { get; set; }
Property Value
Type | Description |
---|---|
string | The document type URI. |
Remarks
This is referred to as the System Identifier by the XML specification.
Examples
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Encoding
Get or set the encoding string for the XML document.
Declaration
string Encoding { get; set; }
Property Value
Type | Description |
---|---|
string | The encoding set for the document. |
Remarks
Documents that are parsed may or may not have the encoding string from the persistent form of the document.