Previous Next

WRITE-CDATA( ) method
Adds a CDATA block to an XML document represented by a SAX-writer object.
Return type:
Applies to:
 
Syntax 
WRITE-CDATA ( CDATA_block )
CDATA_block
A CHARACTER or LONGCHAR expression evaluating to the value of the CDATA block.
Call this method to add character data to the XML document. Character data in an XML document belongs exclusively in leaf nodes. (A leaf node is a bottom node; one that does not have any child nodes in a hierarchical tree structure, like an XML document.) Character data cannot appear outside of the root (document) node. The SAX-writer puts the block into the format of a CDATA section by adding the correct open and close tags using this syntax:
 
Syntax 
<![CDATA[ CDATA_block ]]>
This method does not change the WRITE-STATUS attribute.
Note:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.