Porovnávané verzie

Kľúč

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

%XML_CopyDocument function


Function
The function creates a copy of an XML document.
Declaration


Blok kódu
languageesl
themeConfluence
INT %XML_CopyDocument(
   INT in docHandle
 )
Parameters


docHandleHandle to the new open XML document.
Return value
Handle to the new open XML document which is a copy of specific XML document. If some an error occurs, the return value is invalid.
Description
The function creates a copy of XML document.
Example


Blok kódu
languageesl
themeRDark
 INT _docOrg
 INT _docCpy 
 
 BOOL _freeOrgOk
 BOOL _freeCpyOk 
 
 _docOrg := %XML_ExportD2ObjToDocument(12704, "zero_hobj=off exp_logs=on")
 _docCpy := %XML_CopyDocument (_docOrg)
 
;work with copy 
 
 _freeOrgOk := %XML_FreeDocument(_docOrg)
 _freeCpyOk := %XML_FreeDocument(_docCpy)