XmlDocumentType Data Type

Represents an XML document type.

The following methods are available on the XmlDocumentType data type.

Method name Description
Create(String) Creates an XmlDocumentType node.
Create(String, String) Creates an XmlDocumentType node.
Create(String, String, String) Creates an XmlDocumentType node.
Create(String, String, String, String) Creates an XmlDocumentType node.

The following methods are available on instances of the XmlDocumentType data type.

Method name Description
GetName(var Text) Gets the name for this Document Type Definition (DTD).
SetName(String) Sets the name for this Document Type Definition (DTD).
GetSystemId(var Text) Gets the system identifier for this Document Type Definition (DTD).
SetSystemId(String) Sets the system identifier for this Document Type Definition (DTD).
GetInternalSubset(var Text) Gets the internal subset for this Document Type Definition (DTD).
SetInternalSubset(String) Sets the internal subset for this Document Type Definition (DTD).
GetPublicId(var Text) Gets the public identifier for this Document Type Definition (DTD).
SetPublicId(String) Sets the public identifier for this Document Type Definition (DTD).
AsXmlNode() Converts the node to an XmlNode.
GetParent(var XmlElement) Gets the parent XmlElement of this node.
GetDocument(var XmlDocument) Gets the XmlDocument for this node.
AddAfterSelf(Any,...) Adds the specified content immediately after this node.
AddBeforeSelf(Any,...) Adds the specified content immediately before this node.
ReplaceWith(Any,...) Replaces this node with the specified content.
Remove() Removes this node from its parent element.
WriteTo(OutStream) Serializes and saves the current node to the given variable.
WriteTo(XmlWriteOptions, OutStream) Serializes and saves the current node to the given variable.
WriteTo(var Text) Serializes and saves the current node to the given variable.
WriteTo(XmlWriteOptions, var Text) Serializes and saves the current node to the given variable.
SelectSingleNode(String, var XmlNode) Selects the first XmlNode that matches the XPath expression.
SelectSingleNode(String, XmlNamespaceManager, var XmlNode) Selects the first XmlNode that matches the XPath expression.
SelectNodes(String, var XmlNodeList) Selects a list of nodes matching the XPath expression.
SelectNodes(String, XmlNamespaceManager, var XmlNodeList) Selects a list of nodes matching the XPath expression.

See Also

Getting Started with AL
Developing Extensions