4D v16.3DOM GET XML CHILD NODES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
DOM GET XML CHILD NODES
DOM GET XML CHILD NODES
The DOM GET XML CHILD NODES command returns the types and references or values of all the child nodes of the XML element designated by elementRef. The types of child nodes are returned in the childTypesArr array. You can compare the values returned by the command with the following constants, found in the "XML" theme:
For more information, please refer to the description of the DOM Append XML child node command. The nodeRefsArr array receives the values or references of the elements according to their nature (contents or instructions). Given the following XML structure: <myElement>Hello<br/>New<br/>York</myElement> After executing these instructions: elementRef:=DOM Find XML element($root;"myElement") ... the $typeArr and $textArr arrays will contain the following values:
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v12 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||