special XML/XHTML characters "&", "<"
    and ">" with XML entities, and filters out NUL characters.