escapeXML
lib.escapeXML
Docs pulled from | This Revision | about 1 hour ago
Escapes a string s such that it is safe to include verbatim in an XML
document.
Inputs
s- 1. Function argument
Type
escapeXML :: String -> String
Examples
lib.strings.escapeXML usage example
escapeXML ''"test" 'test' < & >''
=> ""test" 'test' < & >"
Noogle detected
Implementation
This function is implemented in c++ and is part of the native nix runtime.