HasChildElements – PB Docs 126

PBDOM_ELEMENT:

HasChildElements method

Description

Indicates
whether a PBDOM_ELEMENT object has one or more child PBDOM_ELEMENT
objects.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT
object

Return Values

Boolean. Returns true if
this PBDOM_ELEMENT object has at least one child PBDOM_ELEMENT
object and false if this PBDOM_ELEMENT
object has no child PBDOM_ELEMENT objects.

Examples

The HasChildElements method is
invoked for the books PBDOM_ELEMENT object
in the following XML fragment:

The books object has three child PBDOM_ELEMENT
objects: title, author,
and site. The HasChildElements method
returns true.

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