GetTarget Method (XDATA)
9.8A
The GetTarget method returns the target string value for the DOM_PROCESSING_INSTRUCTION_NODE node type. The method uses the following format:
|
|
|
|
Where:
Flags Affected: EOS, OVER, ZERO
Note the following:
The ZERO fand OVER flags are set FALSE.
The EOS flag is set TRUE if the target string value must be truncated to be stored into the {return} variable.
If a target string exists for the current node, the {return} contains the target string data. Otherwise, the {return} variable is set NULL.
The DOM_PROCESSING_INSTRUCTION_NODE 'target' is defined as follows:
DOM_PROCESSING_INSTRUCTION_NODE
Example:
target -> 'xml-stylesheet'
data -> 'type="text/css" href="style.css"'
See Also: XDATA, XDATA Methods, Method Syntax
![]() |