%XML_AddTextNode function


Function
The function adds a text XML element.
Declaration
INT %XML_AddTextNode(
    INT in node, 
    TEXT in text
 )

Parameters
node Handle to parent XML node.
text Text contents of new element.

Return value
Handle to the added XML element.
Description
The function adds defined text  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_AddTextNode(_el, "text") 

Napíšte komentár