RemoveChildElement Syntax 2 – PB Docs 126

PBDOM_ELEMENT:

RemoveChildElement Syntax 2 method

Description

Removes the first child PBDOM_ELEMENT object (one
level deep) that has the local name provided and belongs to the
specified namespace.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT
object

strElementName

The name of the PBDOM_ELEMENT
object to remove

strNamespacePrefix

Prefix of the namespace of the PBDOM_ELEMENT object
to remove

strNamespaceUri

URI of the namespace of the PBDOM_ATTRIBUTE
to remove

Return Values

Boolean. Returns true if
the specified PBDOM_ELEMENT object was removed and false otherwise.

Throws

EXCEPTION_INVALID_ARGUMENT – If
the input parameter is invalid, for example, null.

EXCEPTION_INVALID_STRING – If
the input element name is invalid or the input namespace prefix
or URI is invalid.

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