INT _handle, _elements, _element, _nodes, _node
TEXT _text
_text := "<element>value</element>"
_handle := %XML_FromString(_text)
_elements := %XML_GetElementsByTagName(_handle, "element")
_element := %XML_Item(_elements, 0)
_nodes := %XML_ChildNodes(_element)
_node := %XML_Item(_nodes, 0)
_text := %XML_NodeValue(_node)
; content of the variable _text
; value
Pridať komentár