Skip to main content
Skip table of contents

f$xml_convert


f$xml_convert

Convert a string to XML. This affects special characters. Also considered are characters like> and <. The XML character set can be chosen between UTF-8 and ISO 8859.

Syntax:

Text = f$xml_convert ( kind_of_XML , Text )

 

Argument

Type

Meaning

 

kind_of_XML

Integer

Type of XML 1-UTF-8, 2- ISO 8859

10 = JSON Buffer (special characters are displayed as \uHex value) , 11- JSON Value (in addition to special characters, quotes (“), forward slash ( / ) and backslash ( \) are escaped) , 12-JSON Buffer for Prometheus print function (special characters are displayed as \\uHex value)

 

Text

String

Text, to be converted.

Result:

String

converted Text

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.