WRITE-CDATA( ) method
Return type:
Applies to:
WRITE-CDATA ( 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:
<![CDATA[ CDATA_block ]]>
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |