GetChildElements Syntax 3 – PB Docs 126

PBDOM_ELEMENT:

GetChildElements Syntax 3 method

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 Values

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


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