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

$$PARENT^MXMLDOM(): XML—Get Parent Node

Reference Type: Supported, Category: XML Parser (VistA), ICR#: 3561

Description

The $$PARENT^MXMLDOM extrinsic function retrieves the parent node of the specified node, or zero (0) if there is none.

Format

  $$PARENT^MXMLDOM(handle,node)

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 whose parent is being retrieved.

Output

returns:

Returns:

  • Parent Node—The parent node (string) of the specified node.

  • Zero (0)—If there is no parent.