xml: added escape, unescape, validate subcommands
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
9916a0b0f7
commit
3fd2da89bb
@@ -3,6 +3,14 @@
|
||||
> 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`
|
||||
|
Reference in New Issue
Block a user