Initializes a new instance of the XmlDtdElement class.
The text associated with the XML element declaration.
Gets the parent of this node.
The parent of this node.
Gets the text associated with the XML element declaration.
The text associated with the XML element declaration.
Sets the text associated with the XML element declaration.
The text associated with the XML element declaration.
The text associated with the XML element declaration.
Throws an exception since XmlDtdElement nodes cannot have any children.
Throws an exception since XmlDtdElement nodes cannot have any children.
Gets the node that follows this one, or undefined if no such node exists or if this node has no parent.
The node that follows this one, or undefined if no such node exists or if this node has no parent.
Gets the node that is previous to this one, or undefined if no such node exists or if this node has no parent.
The node that is previous to this one, or undefined if no such node exists or if this node has no parent.
Removes this node from its parent if this node has a parent.
This node's parent, or undefined if it has no parent.
Throws an exception since XmlDtdElement nodes cannot have any children.
Throws an exception since XmlDtdElement nodes cannot have any children.
Returns an XML string representation of this node.
An XML string representation of this node.
Returns the root node of the current hierarchy. If this node has no parent, this node itself is returned.
The root node of the current hierarchy.
Gets the parent of this node.
The parent of this node.
Generated using TypeDoc
Represents an XML element declaration in a document type definition.
An XML element declaration is structured as follows, where
{text}
is the text of the declaration:<!ELEMENT {text}>
The
{text}
value is a property of this node.XmlDtdElement nodes cannot have any children.