klyn.io.xml.dom.XMLProcessingInstruction.XMLProcessingInstruction
constructor

    public XMLProcessingInstruction(target as String, data as String = "", ownerDocument as Document = null):

Description

Creates a processing instruction.

Parameters

Parameter | Description
--- | ---
`target` | Processing instruction target.
`data` | Processing instruction data.
`ownerDocument` | Owner document.

Example

    pi = XMLProcessingInstruction("xml-stylesheet", "href='style.css'", document)