C.4 ProcessingInstruction Node Mapping
ProcessingInstruction Node Mapping
Infoset to ProcessingInstruction Node[top]
Infoset to ProcessingInstruction Node
A processing instruction information item map to a
ProcessingInstruction node. The attributes of the
corresponding ProcessingInstruction node are
constructed as follows:
13The table contains the mapping of an Infoset information item to a Node
Attribute
Value
11Node.nodeName |
11same as ProcessingInstruction.target |
11Node.nodeValue |
11same as ProcessingInstruction.data |
11Node.nodeType |
11Node.PROCESSING_INSTRUCTION_NODE |
11Node.parentNode |
11The [parent] property |
11Node.childNodes |
11empty NodeList |
11Node.firstChild |
11null |
11Node.lastChild |
11null |
11Node.previousSibling |
11null |
11Node.nextSibling |
11null |
11Node.attributes |
11null |
11Node.ownerDocument |
11The document information item |
11Node.namespaceURI |
11null |
11Node.prefix |
11null |
11Node.localName |
11null |
11Node.baseURI |
11The [base URI] property of the parent element if
any. The [base URI] property of the processing instruction
information item is not exposed through the
ProcessingInstruction node. |
11Node.textContent |
11same as Node.nodeValue |
11ProcessingInstruction.target |
11The [target] property |
11ProcessingInstruction.data |
11The [content] property |
ProcessingInstruction Node to Infoset[top]
ProcessingInstruction Node to Infoset
A ProcessingInstruction node maps to an
processing instruction information item. The
properties of the corresponding processing instruction
information item are constructed as follows:
13The table contains the mapping of a Node to the Infoset
Property
Value
| 11[target] |
11ProcessingInstruction.target |
| 11[content] |
11ProcessingInstruction.data |
| 11[base URI] |
11Node.baseURI (which is equivalent to the
base URI of its parent element if any) |
| 11[notation] |
11
The Notation node named by the target and if
available from Node.ownerDocument.doctype.notations
|
| 11[parent] |
11Node.parentNode |
|