Noogλe

search input

Function of the day

  • 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' < & >''
    => "&quot;test&quot; &apos;test&apos; &lt; &amp; &gt;"