Count XML elements

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 2003


Count XML elements (elementRef; elementName) Longint

ParameterTypeDescription
elementRefStringXML element reference
elementNameStringName of XML elements to count
Function resultLongintNumber of elements

Description

The Count XML elements command returns the number of "child" elements dependent on the elementRef parent element and named elementName.

See also

Get XML element.

System Variables or Sets

If the command has been correctly executed, the system variable OK is set to 1. If an error occurs, it is set to 0.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next