WRITE_CDATA_TO_XML_FILE
Syntax
WRITE_CDATA_TO_XML_FILE ‘cdata string’
Description
Use the WRITE_CDATA_TO_XML_FILE command to add character Data or CDATA that are not parsed to an XML file. This will be added under root only.
Note:
A CDATA section starts with "<![CDATA[" and ends with "]]>".
Parameter
The following table lists and describes the parameter:
| Parameter | Description |
|---|---|
|
cdata string |
Specify the string of data that is written to the XML file. |
Example
The following example illustrates the WRITE_CDATA_TO_XML_FILE command:
WRITE_CDATA_TO_XML_FILE 'Test CDATA'
Produces the following output:
<![CDATA[
Test CDATA
]]>