PBDOM_ELEMENT:
HasChildElements method
Description
Indicates
whether a PBDOM_ELEMENT object has one or more child PBDOM_ELEMENT
objects.
Syntax
1 |
<span>pbdom_element_name.</span>HasChildElements() |
Argument |
Description |
---|---|
pbdom_element_name |
The name of a PBDOM_ELEMENT |
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:
1 |
<books><br>   <title>Inside OLE</title><br>   <author>Kraig Brockschmidt</author><br>   <site href="http://www.microsoft.com/press"/><br></books> |
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.
Subscribe
Login
0 Comments