A representation of an XML ProcessingInstruction
node.
Methods
Method | Return type | Brief description |
---|---|---|
detach() | Content | Detaches the node from its parent Element node. |
getData() | String | Gets the raw data for every instruction in the ProcessingInstruction node. |
getParentElement() | Element | Gets the node's parent Element node. |
getTarget() | String | Gets the target for the ProcessingInstruction node. |
getValue() | String | Gets the text value of all nodes that are direct or indirect children of the node, in the order they appear in the document. |
Detailed documentation
detach()
getData()
Gets the raw data for every instruction in the ProcessingInstruction
node.
Return
String
— the raw data for every instruction in the ProcessingInstruction
node
getParentElement()
getTarget()
Gets the target for the ProcessingInstruction
node.
Return
String
— the target for the ProcessingInstruction
node
getValue()
Gets the text value of all nodes that are direct or indirect children of the node, in the order they appear in the document.
Return
String
— the text value of all nodes that are direct or indirect children of the node