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

BuildFromString – PB Docs 2022 – PowerBuilder Library

BuildFromString – PB Docs 2022

BuildFromString

Description

Builds a PBDOM_DOCUMENT from a string.

Syntax

Argument

Description

pbdom_builder_name

The name of a PBDOM_BUILDER object

strXMLStream

A string containing XML

Return value

PBDOM_DOCUMENT.

Throws

EXCEPTION_INVALID_ARGUMENT — The input string is invalid. This
can happen if it has not been initialized properly or is a null object
reference.

EXCEPTION_MEMORY_ALLOCATION_FAILURE — Insufficient memory was
encountered while executing this method.

Examples

The following PowerScript code fragment demonstrates how to use
the BuildFromString method with an input string. A string containing XML
is passed to the BuildFromString method and the return value is assigned
to a PBDOM_DOCUMENT.

Usage

The encoding specified in the XML export template determines the
encoding of the document created using BuildFromString.

See also

BuildFromDataStore

BuildFromFile


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