http://onionworks.net/2004/renderengine/utility
xmlEncode (original : string) : string
This method transforms a transferred string into an XML-compliant format.
<xsl:value-of select="util:xmlEncode('A > simple Test')" />
A > simple Test
Transformation of any string into an XML-compliant string
This command causes the “greater than” sign to be escaped “twice”.
The output in HTML is thus: A & amp;& gt; simple Test
While the textual output of this sentence would be output as follows: A & gt; simple Test