Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > addProcessingInstruction

addProcessingInstruction

addProcessingInstruction(target: String;
              data:  String): JadeXMLProcessingInstruction updating;

The addProcessingInstruction method of the JadeXMLDocument class creates and adds a processing instruction node with the values specified in the target and data parameters, and returns a reference to the created JadeXMLProcessingInstruction node instance.