4D v16.3

DOM Append XML element

Home

 
4D v16.3
DOM Append XML element

DOM Append XML element 


 

DOM Append XML element ( targetElementRef ; sourceElementRef ) -> Function result 
Parameter Type   Description
targetElementRef  Text in Reference of XML parent element
sourceElementRef  Text in Reference of XML element to append
Function result  Text in 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.

Example  

See the example of the DOM Insert XML element command.



See also 

DOM Insert XML element

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 1082

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)