On this Page
_toXmlString
(As of 3.2.001.06)
Convert a string to XML encoding.
Syntax
_toXmlString(
string)
Parameters
string is the string to be converted. Standard set of XML symbols that has to be escaped are handled - <>'"&
.
Returned Value
Returns the resulting XML-encoded string.
Example
_toXmlString("<>'\"&"); // " <>'"&"