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 126 – PowerBuilder Library

BuildFromString – PB Docs 126

PBDOM_BUILDER:

BuildFromString method

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 Values

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


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