CVIXMLGetNumChildElements
- Updated2023-02-21
- 1 minute(s) read
CVIXMLStatus CVIXMLGetNumChildElements (CVIXMLElement element, int *numberChildren);
Purpose
Gets the number of children an element has. CVIXMLGetNumChildElements counts only elements—all other XML data is not counted.
Parameters
| Input | ||
| Name | Type | Description |
| element | CVIXMLElement | The element handle must be a valid CVIXMLElement. |
| Output | ||
| Name | Type | Description |
| numberChildren | int | On output, contains the element's number of children. |
Return Value
| Name | Type | Description | ||||
| status | CVIXMLStatus | Indicates whether the function was successful. A zero indicates success. You can call CVIXMLGetErrorString to obtain textual descriptions of error codes. Among the more commonly encountered errors are:
|
Additional Information
Library: CVIXML
Include file: toolbox\cvixml.h
LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later
