JavaScript: The Definitive Guide

25.228. ProcessingInstruction : a processing instruction in an XML document

DOM Level 1 XML: Node ProcessingInstruction

25.228.1. Properties

String data

The content of the processing instruction (i.e., the first nonspace character after the target up to but not including the closing ?>).

readonly String target

The target of the processing instruction. This is the first identifier that follows the opening <?; it specifies the "processor" for which the processing instruction is intended.

25.228.2. Description

This infrequently used interface represents a processing instruction (or PI) in an XML document. Programmers working with HTML documents will never encounter a ProcessingInstruction node.

25.228.3. See Also

Document.createProcessingInstruction()

Категории