GetRootElement – PB Docs 2019

GetRootElement

Description

Retrieves the root element of the current XML DOM document.

Syntax

Argument

Description

pbdom_document_name

The name of a PBDOM_DOCUMENT object

Return value

PBDOM_ELEMENT. The root element of the PBDOM_DOCUMENT object
housed in a PBDOM_ELEMENT object.

Throws

EXCEPTION_MEMORY_ALLOCATION_FAILURE — Insufficient memory was
encountered while executing this method.

Usage

The return value is the root element encapsulated in a
PBDOM_ELEMENT object.

See also

DetachRootElement

HasRootElement

SetRootElement


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x