escapeXML
From Documentation
String escapeXML(String s);
- i.e., XMLs.escapeXML(String)
Encodes a string that special characters are quoted to be compatible with HTML/XML. For example,
- < is translated to <
- > to >
- & to &
- " to "
- ' to '
Parameters:
- s - the string to encode
Version History
Version | Date | Content |
---|---|---|