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-escape.md

17 lines
358 B
Markdown
Raw Normal View History

# xml-escape
> XMLStarlet toolkit: Escape special XML characters.
2021-08-15 07:19:09 -04:00
> More information: <http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
- Escape special XML characters in a string:
`xml escape {{"<a1>"}}`
- Escape special XML characters in standard input:
`echo {{"<a1>"}} | xml escape`
- Display help for `escape` subcommand:
`xml escape --help`