Property Boolean HasChildNodes
Read Access: | Get HasChildNodes to BooleanVariable |
HasChildNodes indicates whether a node has child nodes. This is a quick way to find out whether a node has children. It always returns False for nodes that, by definition, cannot have children: cXmlDomTextNode, cXmlDomComment, cXmlDomCDataSection, cXmlDomProcessingInstruction, cXmlDomNotation
Note: | - Use a boolean data type for the return value. If you use an integer, you will see the return value is -1 instead of 1, but both are not zero (false), so true. - DataFlex returns the value as returned by Microsoft XML. |