Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%XML_AddTextNode function


Function
The function adds a text XML element.
Declaration


Blok kódu
languageesl
themeConfluence
INT %XML_AddTextNode(
    INT in node, 
    TEXT in text
 )
Parameters


nodeHandle to parent XML node.
textText contents of new element.
Return value
Handle to the added XML element.
Description
The function adds defined text  text to the given parent XML node. Parent node can be an element.
Example


Blok kódu
languageesl
themeRDark
 INT _doc
 _doc := %XML_CreateDocument()
 INT _el
 _el := %XML_AddElement(_doc, "element")
 INT _txt
 _txt := %XML_AddTextNode(_el, "text")