DOM Count XML elements

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

version 2004 (Modified)


DOM Count XML elements (elementRef; elementName) Longint

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

Description

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

See Also

DOM 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 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next