snippetbashTip
xml unescape — Unescape special XML characters, e.g. `<a1>` → `<a1>`. More information: <https://xmlstar.sour
Viewed 0 times
commandspecialxml unescapeunescapeclicharactersmorexml
Problem
How to use the
xml unescape command: Unescape special XML characters, e.g. <a1> → <a1>. More information: <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139540960>.Solution
xml unescape — Unescape special XML characters, e.g. <a1> → <a1>. More information: <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139540960>.Unescape special XML characters from a string:
xml {{[unesc|unescape]}} "{{<a1>}}"Unescape special XML characters from
stdin:echo "{{<a1>}}" | xml {{[unesc|unescape]}}Display help:
xml {{[unesc|unescape]}} --helpCode Snippets
Unescape special XML characters from a string
xml {{[unesc|unescape]}} "{{<a1>}}"Unescape special XML characters from `stdin`
echo "{{<a1>}}" | xml {{[unesc|unescape]}}Display help
xml {{[unesc|unescape]}} --helpContext
tldr-pages: common/xml unescape
Revisions (0)
No revisions yet.