XML DOM - ProcessingInstruction object
- Previous page DOM ParseError
- Next page DOM Range
The ProcessingInstruction object represents a processing instruction.
DocumentType object
The ProcessingInstruction object can represent a processing instruction.
This rarely used interface represents a processing instruction (or PI) in an XML document. Programmers using HTML documents will not encounter the ProcessingInstruction node.
Processing instructions can be used as a method to retain processor custom information in the text of an XML document.
IE: Internet Explorer: F: Firefox: O: Opera: W3C: World Wide Web Consortium (Internet standards)
Attributes of the ProcessingInstruction object
Attributes | Description |
---|---|
data |
Sets or returns the content of this processing instruction. (i.e., the characters from the first non-space character after the target to the end character “?>”, but not including “?>”) |
target |
Returns the target of this processing instruction. It is the first identifier after “<?”, specifying the processor for the processing instruction. |
- Previous page DOM ParseError
- Next page DOM Range