EDIT_XML_ROOT
Syntax
EDIT_XML_ROOT "root tag" "name space"
Description
Use the EDIT_XML_ROOT command to modify the root tag name. Root element is added to an XML by default. You must use this command before defining other templates are defined.
Note:
If the EDIT_XML_ROOT command is not used, the root tag will take “root” as the name.
Parameters
The following table lists and describes the parameters:
| Parameter | Description |
|---|---|
|
root tag |
Specify the name of the root tag. |
|
name space |
Specify the name space that is used with the XMLNS attribute. Use “default” if no private name space is used. Multiple name spaces can be specified delimited by “,” . For example: default:ABC,root:PSQR,child:XYZ |
Example
The following example illustrates the EDIT_XML_ROOT command:
EDIT_XML_ROOT 'Progressreport' 'default:student,n1:space1,n2:space2’