ProcessingInstruction object (Object/DOM)

Part of the DOM level support for XML that relates to the handling of a processing instruction embedded in the text of the document.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Inherits from:Node object
JavaScript syntax:-myProcessingInstruction = new ProcessingInstruction()
Object properties:data, target

See also:Document.createProcessingInstruction()

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
data1.5 1.55.0 5.06.0 6.05.0 5.0 n/a n/a n/a1 1 n/a n/a-
target1.5 1.55.0 5.06.0 6.05.0 5.0 n/a n/a n/a1 1 n/a n/aReadOnly.