4D v14.3

DOM Append XML element

Home

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

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 1082

 
HISTORY 

Created: 4D v12

 
SEE ALSO 

DOM Insert XML element

 
ARTICLE USAGE

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)