The XML Helper file contains functions that assist in working with XML data.
Loading this Helper
This helper is loaded using the following code:
The following functions are available:
Takes a string as input and converts the following reserved XML characters to entities:
Less then and greater than characters: < >
Single and double quotes: ' "
This function ignores ampersands if they are part of existing character entities. Example:
$string = xml_convert($string);