Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

NewDocument Syntax 1 – PB Docs 2022 – PowerBuilder Library

NewDocument Syntax 1 – PB Docs 2022

NewDocument Syntax 1

Description

Creates a new XML DOM document from scratch.

Syntax

Argument

Description

pbdom_document_name

The name of a PBDOM_DOCUMENT
object

strRootElementName

The name of the root element to be contained in
the DOM document

Return value

Boolean.

Returns true if a new document is successfully created and false
otherwise.

Throws

EXCEPTION_INVALID_ARGUMENT — The input string is invalid, which
can occur if the string was set to null by means of the PowerScript
SetNull method.

EXCEPTION_MEMORY_ALLOCATION_FAILURE — Insufficient memory was
encountered while executing this method.

Usage

The parameter strRootElementName becomes the name of the root
element.

See also

SaveDocument


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