Document.createProcessingInstruction() (Method)

A new processing instruction node is created. Its name and content are specified by the arguments.

Availability:

DOM level - 1
JavaScript - 1.5
Netscape - 6.0
Property/method value type:ProcessingInstruction object
JavaScript syntax:NmyDocument.createProcessingInstruction(aTarget,someData)
Argument list:aTargetThe target for the instruction
someDataThe data for the instruction

See also:ProcessingInstruction object