Provided by: kaya_0.4.4-6ubuntu3_amd64
XMLentities::literalToEntity - Convert literal characters to XML entities
String literalToEntity( String text )
text The text to convert
Return a String with all of the literal characters outside the strict 7-bit ASCII subset converted to XML entities. For example Char(220) would be replaced with &#220; An Exception is thrown if the input string contains any literal characters not legal in XML documents (or are in the range 128-159, for which the behaviour is undefined).
Kaya standard library by Edwin Brady, Chris Morris and others (email@example.com). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.