WRITE-CDATA( ) method
Adds a CDATA block to an XML document represented by a SAX-writer object.
Return type: LOGICAL
Applies to: SAX-writer object handle
value
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. For example:
This method does not change the WRITE-STATUS attribute.
Note: The CHARACTER data is serialized and not escaped by the SAX-writer.
OpenEdge Release 10.2B
|