INT _handle, _element, _node
TEXT _text
_handle := %XML_CreateDocument()
_element := %XML_AddElement(_handle, "element")
_node := %XML_AddTextNode(_element, "value")
_text := %XML_ToString(_handle)
; content of the variable _text
; <?xml version="1.0" encoding="utf-8"?<element>value</element>
_text:= %XML_ToString(_handle,"",@FALSE)
; content of the variable _text
; <element>value</element>
Pridať komentár