mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 14:02:08 +02:00
16 lines
366 B
Markdown
16 lines
366 B
Markdown
# xml-escape
|
|
|
|
> XMLStarlet toolkit: Escape special XML characters.
|
|
> More information: <https://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`
|