Class ProcessingInstruction

Class ProcessingInstruction

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML.dll (25.2.0)

The ProcessingInstruction represents a “processing instruction”, used in XML as a way to keep processor-specific information in the text of the document.

[DOMName("ProcessingInstruction")]
[DOMObject]
[ComVisible(true)]
public class ProcessingInstruction : CharacterData, INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver

Inheritance

objectDOMObjectEventTargetNodeCharacterDataProcessingInstruction

Implements

INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver

Inherited Members

CharacterData.SubstringData(int, int), CharacterData.AppendData(string), CharacterData.InsertData(int, string), CharacterData.DeleteData(int, int), CharacterData.ReplaceData(int, int, string), CharacterData.ToString(), CharacterData.Data, CharacterData.Length, Node.ELEMENT_NODE, Node.ATTRIBUTE_NODE, Node.TEXT_NODE, Node.CDATA_SECTION_NODE, Node.ENTITY_REFERENCE_NODE, Node.ENTITY_NODE, Node.PROCESSING_INSTRUCTION_NODE, Node.COMMENT_NODE, Node.DOCUMENT_NODE, Node.DOCUMENT_TYPE_NODE, Node.DOCUMENT_FRAGMENT_NODE, Node.NOTATION_NODE, Node.HasChildNodes(), Node.Normalize(), Node.CloneNode(), Node.CloneNode(bool), Node.IsEqualNode(Node), Node.IsSameNode(Node), Node.LookupPrefix(string), Node.LookupNamespaceURI(string), Node.IsDefaultNamespace(string), Node.InsertBefore(Node, Node), Node.ReplaceChild(Node, Node), Node.RemoveChild(Node), Node.AppendChild(Node), Node.Dispose(bool), Node.ToString(), Node.NodeType, Node.LocalName, Node.NamespaceURI, Node.Prefix, Node.NodeName, Node.BaseURI, Node.OwnerDocument, Node.ParentNode, Node.ParentElement, Node.ChildNodes, Node.FirstChild, Node.LastChild, Node.PreviousSibling, Node.NextSibling, Node.NodeValue, Node.TextContent, EventTarget.AddEventListener(string, DOMEventHandler, bool), EventTarget.AddEventListener(string, IEventListener), EventTarget.AddEventListener(string, IEventListener, bool), EventTarget.RemoveEventListener(string, DOMEventHandler, bool), EventTarget.RemoveEventListener(string, IEventListener), EventTarget.RemoveEventListener(string, IEventListener, bool), EventTarget.DispatchEvent(Event), EventTarget.Dispose(), EventTarget.Dispose(bool), DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

NodeName

The name of this node, depending on its type.

public override string NodeName { get; }

Property Value

string

NodeType

A code representing the type of the underlying object.

public override ushort NodeType { get; }

Property Value

ushort

NodeValue

The value of this node, depending on its type.

public override string NodeValue { get; set; }

Property Value

string

Target

The target of this processing instruction.

[DOMName("target")]
public string Target { get; }

Property Value

string

TextContent

This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.

public override string TextContent { get; set; }

Property Value

string