ADD_CHILD_TO_XML_RECORD

Syntax

ADD_CHILD_TO_XML_RECORD ‘template name’ ‘element name

Description

Use the ADD_CHILD_TO_XML_RECORD command to add a child record to the XML template. You must first create a child XML-RECORD to add to the XML template. You can add multiple child XML-RECORDs.

Note:

To avoid duplication, you must delete any existing child records before reusing.

Parameters

The following table lists and describes the parameters:

Parameter Description

Template Name

Specify the XML record where data will be added.

Element Name

Specify the element name that will be populated with the data.

Example

The following example illustrates the ADD_CHILD_TO_XML_RECORD command:

ADD_CHILD_TO_XML_RECORD   'student'  'n1:subject'