Skip to main content

XMLDECODE

XMLDECODE( unicode )

unicodeThe unicode text to decode.
Return:XMLDECODE returns a single value.

The XMLDECODE function decodes special characters into an XML string (for example, &lt is converted to <) allowing you to use the CSV option on OUTPUT to produce more complex XML files than are possible by using the XML option.

Example:

  d := XMLENCODE('<xml version 1><tag>data</tag>');
  e := XMLDECODE(d);

See Also: XMLENCODE