%XML_AddCDataNode function


Function
The function adds a new CDATA XML element.
Declaration
INT %XML_AddCDataNode(
    INT in node, 
    TEXT in CDATA
 )

Parameters
node Handle to parent XML node.
CDATA CDATA of new element.

Return value
Handle to the added XML element.
Description
The function adds defined CDATA  to the given parent XML node. Parent node can be an element.
Example
 INT _doc
 _doc := %XML_CreateDocument()
 INT _el
 _el := %XML_AddElement(_doc, "element")
 INT _txt
 _txt := %XML_AddCDataNode(_el, "fjdkfjgwljl")

Napíšte komentár