4D v13.4

DOM Append XML element

Home

 
4D v13.4
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.

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 1082

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v12

 
SEE ALSO 

DOM Insert XML element