Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$TEXT^MXMLDOM(): XML—Extract Non-markup Text (True/False)

Reference Type: Supported, Category: XML, ICR#: 3561

Description

The $$TEXT^MXMLDOM extrinsic function extracts non-markup text associated with the specified node.

Format

  $$TEXT^MXMLDOM(handle,node,text)

Input Parameters

handle:

(required) The value (integer) returned by the $$EN^MXMLDOM API, which created the in-memory document image.

node:

(required) The node (integer) in the document tree that is being referenced by this API.

text:

(required) This input parameter (string) must contain a closed local or global array reference that is to receive the text. The specified array is deleted before being populated.

Output

returns:

Returns a Boolean value:

  • True (non-zero)—Text was retrieved.

  • False (zero)—Text was not retrieved.