# xml/unescape Expand predefined and numeric character references in a string. ## Syntax
[xml/unescape $s]
## Parameters - `$s` — text containing entity or character references ## Examples
[xml/unescape "a &lt; b"]            # => "a < b"
[xml/unescape "&#65;&#x42;"]         # => "AB"
[xml/unescape "&nbsp;"]              # => "&nbsp;" (left as written)
## Returns The decoded string. `&lt; &gt; &amp; &apos; &quot;` and numeric references (`&#65;`, `&#x41;`) expand; unknown or malformed references are left as written. A numeric reference to a character XML cannot hold returns `%Err{:message}`. ## See Also `xml/escape`, `xml/parse`