4D v14.3

DOM Count XML elements

Home

 
4D v14.3
DOM Count XML elements

DOM Count XML elements 


 

DOM Count XML elements ( elementRef ; elementName ) -> Function result 
Parameter Type   Description
elementRef  String in XML element reference
elementName  String in Name of XML elements to count
Function result  Longint in Number of elements

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

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

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 726

The OK variable is changed by the command

 
HISTORY 

Modified: 4D 2004

 
SEE ALSO 

DOM Get XML element

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)