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

GetChildElements Syntax 3 – PB Docs 2021 – PowerBuilder Library

GetChildElements Syntax 3 – PB Docs 2021

GetChildElements Syntax
3

Description

Retrieves a list of all child PBDOM_ELEMENT objects nested one
level deep within a PBDOM_ELEMENT object specified by the local name
and namespace provided.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object

strElementName

The name of a PBDOM_ELEMENT object for which to
find children

strNamespacePrefix

The prefix of the namespace of the child
PBDOM_ELEMENT objects to match

strNamespaceUri

The URI of the namespace of the child
PBDOM_ELEMENT objects to match

pbdom_element_array[]

The array that stores the child PBDOM_ELEMENT
objects

Return value

Boolean.

Returns true if child PBDOM_ELEMENT objects have been collected,
and false otherwise.

Throws

EXCEPTION_INVALID_ARGUMENT — If any of the parameters is
invalid.

EXCEPTION_INVALID_NAME — If the input element name or
namespace prefix or namespace URI is invalid. The only exception is if
the input element name is an empty string.

Usage

If the PBDOM_ELEMENT object has no nested elements,
GetChildElements returns an empty array.

If the value of strElementName is an empty string, then all
child elements match.

See also

GetChildElement

GetChildElements
Syntax 1

GetChildElements
Syntax 2

HasChildElements

HasChildren

IsRootElement

RemoveChildElement

RemoveChildElements


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