xml_encode

The xml_encode method takes a string and encodes it using XML escaping.

Syntax

xml_encode ( content )

Arguments

Argument Description
content (string) The string to encode.

Returns

(String).