Escapes a string for use in an XML attribute value per Exclusive C14N rules.
Mirrors the replacements in Relyra.Security.XML.C14n private escape_attr/1 without coupling callers to C14n internals.
Relyra.Security.XML.C14n
escape_attr/1
@spec escape_attribute(term()) :: binary()