See also the Document Object Model (DOM) Level 3 Core Specification.
This class represents an XML processing instruction. Each processing instruction has two key properties:
?>
. The syntax of the data depends completely on the processing instruction. Other than forbidding ?>
, XML defines no rules for processing instruction data. ProcessingInstruction
defines an XML processing instruction. The {@link Node#getName}method will return the target of the PI and the {@link Node#getText}method will return the data from all of the instructions.
The following features are supported:
<?xml-stylesheet href="stylesheet.xsl" type="text/css"?>
will have name
== "xml-stylesheet"
and two attributes: href
and type
.
ProcessingInstruction
interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
|
|
|
|
|
|