Initializes a new instance of the XmlProcInst class.
The target of the processing instruction.
Gets the data of the processing instruction.
The data of the processing instruction. This value may be undefined.
Sets the data of the processing instruction.
The data of the processing instruction. This value may be undefined.
The data of the processing instruction. This value may be undefined.
Gets the parent of this node.
The parent of this node.
Gets the target of the processing instruction.
The target of the processing instruction.
Sets the target of the processing instruction.
The target of the processing instruction.
The target of the processing instruction.
Throws an exception since XmlProcInst nodes cannot have any children.
Throws an exception since XmlProcInst 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 XmlProcInst nodes cannot have any children.
Throws an exception since XmlProcInst 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 processing instruction.
An XML processing instruction is structured as follows, where
{target}
and{content}
are the target and content of the processing instruction respectively.<?{target} {content}?>
The
{target}
and{content}
values are properties of this node.XmlProcInst nodes cannot have any children.