Xml
final class Xml (View source)
| internal | This class is not covered by the backward compatibility promise for PHPUnit |
Methods
static string
prepareString(string $string)
Escapes a string for the use in XML documents.
Details
static string
prepareString(string $string)
Escapes a string for the use in XML documents.
Any Unicode character is allowed, excluding the surrogate blocks, FFFE, and FFFF (not even as character reference).