createProcessingInstruction method

ProcessingInstruction createProcessingInstruction(
  1. String target,
  2. String data
)

createProcessingInstruction() generates a new processing instruction node and returns it.

The new node usually will be inserted into an XML document in order to accomplish anything with it, such as with node.insertBefore.

Implementation

external ProcessingInstruction createProcessingInstruction(
  String target,
  String data,
);