This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
DOM Append XML element
|
DOM Append XML element ( targetElementRef ; sourceElementRef ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
targetElementRef | Text |
![]() |
Reference of XML parent element | |||||
sourceElementRef | Text |
![]() |
Reference of XML element to append | |||||
Function result | Text |
![]() |
Reference of new XML element | |||||
The DOM Append XML element command is used to add a new XML element to the children of the XML element whose reference is passed in the targetElementRef parameter.
In the sourceElementRef parameter, pass the element to be added. This element must be passed as the reference of an existing XML element in a DOM tree. It is added after the last existing child element of targetElementRef.
See the example of the DOM Insert XML element command.
Product: 4D
Theme: XML DOM
Number:
1082
Created: 4D v12
4D Language Reference ( 4D v20 R7)