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

RemoveChildElements Syntax 3 – PB Docs 2019 – PowerBuilder Library

RemoveChildElements Syntax 3 – PB Docs 2019

RemoveChildElements
Syntax 3

Description

Removes from the current PBDOM_ELEMENT object all child
PBDOM_ELEMENT objects (one level deep) that have the specified local
name and belong to the specified namespace.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object

strElementName

The name of the child PBDOM_ELEMENT objects to
remove

strNamespacePrefix

Prefix of the namespace of the child
PBDOM_ELEMENT objects to remove

strNamespaceUri

URI of the namespace of the child PBDOM_ATTRIBUTE
objects to remove

Return value

Boolean.

Returns true if any child PBDOM_ELEMENT object was removed and
false otherwise.

Throws

EXCEPTION_INVALID_ARGUMENT — If any of the input parameters is
invalid, for example, null.

EXCEPTION_INVALID_NAME — If the input element name or
namespace prefix or URI is invalid. The only exception is if the input
element name is an empty string, in which case all element names
match.

EXCEPTION_MEMORY_ALLOCATION_FAILURE — If there was any memory
allocation failure during the execution of this method.

See also

GetChildElement

GetChildElements

HasChildElements

HasChildren

IsRootElement

RemoveChildElement

RemoveChildElements Syntax
1

RemoveChildElements Syntax
2


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