1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/xml-unescape.md

17 lines
354 B
Markdown
Raw Normal View History

# xml unescape
2021-08-23 21:26:03 -04:00
> Unescape special XML characters, e.g. `&lt;a1&gt;` → `<a1>`.
2021-08-15 07:19:09 -04:00
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Unescape special XML characters from a string:
`xml unescape "{{&lt;a1&gt;}}"`
- Unescape special XML characters from `stdin`:
2023-06-14 17:32:31 +02:00
`echo "{{&lt;a1&gt;}}" | xml unescape`
- Display help:
`xml escape --help`