ADD_DATA_TO_XML_RECORD

Syntax

ADD_DATA_TO_XML_RECORDtemplate name’ ‘element name’ ‘value

Description

Use the ADD_DATA_TO_XML_RECORD command to add data to the XML template. This creates an XML-RECORD before writing to the XML file.

Parameters

The following table lists and describes the parameters:

Parameter Description

Template Name

Specify the XML record where the data needs to be added.

Element Name

Specify the name of the element where data is required.

Value

Specify the option that will not be used to add child XML-RECORDs.

Example

The following example illustrates the ADD_DATA_TO_XML_RECORD command:

ADD_DATA_TO_XML_RECORD   'student'  'Name' 'ABC&’