Table of Contents

Class ProcessingInstruction

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction.

[Value("ProcessingInstruction")]
public class ProcessingInstruction : CharacterData, NonDocumentTypeChildNode, ChildNode, LinkStyle
Inheritance
ProcessingInstruction
Implements
Inherited Members

Remarks

WARNING

ProcessingInstruction nodes are only supported in XML documents, not in HTML documents. In these, a process instruction will be considered as a comment and be represented as a Comment object in the tree.

A processing instruction may be different than the XML declaration.

NOTE

User-defined processing instructions cannot begin with "xml", as xml-prefixed processing-instruction target names are reserved by the XML specification for particular, standard uses (see, for example, <?xml-stylesheet ?>.

For example:

is a processing instruction whose target is xml.

-document.createProcessingInstruction()
-The DOM API

See also on MDN

Constructors

ProcessingInstruction()

public ProcessingInstruction()

Properties

Target

The read-only target property of the ProcessingInstruction interface
represent the application to which the ProcessingInstruction is targeted.

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

Property Value

string

A string containing the name of the application.

Remarks

For example:

is a processing instruction whose target is xml.

-The DOM API

See also on MDN