GetName Method (XDATA)


9.8A

 

The GetName method returns the name string value for the DOM_DOCUMENT_TYPE_NODE node type. The method uses the following format:

 

[label]

{object}.GetName

[GIVING {return}]

Where:

label
Optional. A Program Execution Label.
object
Required. An XDATA object.
return
Optional. A Character String Variable or literal that receives the name string value for the DOM_DOCUMENT_TYPE_NODE node type.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO and OVER flags are set FALSE.

  2. The EOS flag is set TRUE if the name string value must be truncated to be stored into the {return} variable.

  3. If the name string exists for the current node, the {return} contains the name string data. Otherwise, the {return} variable is set NULL.

 

 

See Also: XDATA, XDATA Methods, Method Syntax



PL/B Language Reference GetLabel Method (XDATA) GetPosition Method (XDATA)